/* Form Styles */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.form-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.form-subtitle {
    color: var(--gray);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

.form-label .required {
    color: var(--primary);
    margin-left: 4px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 15px;
    transition: var(--transition);
    background: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(223, 31, 31, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-file {
    padding: 10px;
    border: 1px dashed var(--border);
    border-radius: 12px;
    background: var(--gray-light);
    width: 100%;
    cursor: pointer;
}

.form-file:hover {
    border-color: var(--primary);
}

.form-checkbox {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: var(--dark);
}

.form-radio-group {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.form-radio {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.form-radio input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-help {
    font-size: 12px;
    color: var(--gray);
    margin-top: 6px;
}

.form-error {
    color: var(--primary);
    font-size: 12px;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-actions {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.form-actions .btn {
    flex: 1;
}

/* Image Preview */
.image-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.preview-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Rating Stars */
.rating-input {
    display: flex;
    gap: 8px;
    font-size: 28px;
    cursor: pointer;
}

.rating-input i {
    color: #ddd;
    transition: var(--transition);
}

.rating-input i.hover,
.rating-input i.active {
    color: #FFD700;
}

/* Multi-step Form */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 32px;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step-number {
    width: 32px;
    height: 32px;
    background: var(--border);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 8px;
}

.step.active .step-number {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.step.completed .step-number {
    background: var(--success);
    color: white;
}

.step-label {
    font-size: 12px;
    color: var(--gray);
}

.step.active .step-label {
    color: var(--primary);
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .form-container {
        padding: 20px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-radio-group {
        flex-direction: column;
        gap: 12px;
    }
    
    .step-label {
        display: none;
    }
}