/**
 * Form Redesign - Home2.0
 * Smaller text, icons instead of emojis, consistent styling
 */

/* Global Form Styling */
.form-container {
    font-size: 11px;
    line-height: 1.4;
}

/* Form Headers */
.form-header h1,
.form-header h2,
.form-title {
    font-size: 16px !important;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-header h3 {
    font-size: 14px !important;
    font-weight: 600;
}

.form-subtitle,
.form-description {
    font-size: 10px !important;
    color: #6B7280;
    margin-bottom: 16px;
}

/* Form Labels */
.form-label,
label {
    font-size: 10px !important;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
    display: block;
}

/* Form Inputs */
.form-control,
.form-input,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
select,
textarea {
    font-size: 11px !important;
    padding: 8px 12px !important;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.2s;
}

.form-control:focus,
.form-input:focus,
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Buttons */
.btn,
button {
    font-size: 11px !important;
    padding: 10px 16px !important;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-outline {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
}

/* Small Text Elements */
small,
.small-text,
.hint-text {
    font-size: 9px !important;
    color: #6B7280;
}

/* Step Indicators */
.step-indicator .step {
    width: 28px;
    height: 28px;
    font-size: 10px;
    font-weight: 600;
}

.step-label {
    font-size: 8px !important;
}

/* Alert Messages */
.alert {
    font-size: 10px !important;
    padding: 8px 12px;
    border-radius: 6px;
}

/* Form Groups */
.form-group {
    margin-bottom: 16px;
}

.form-row {
    display: flex;
    gap: 12px;
}

.form-row .form-group {
    flex: 1;
}

/* Icon Integration */
.form-icon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.input-with-icon {
    position: relative;
}

.input-with-icon .icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9CA3AF;
}

.input-with-icon input {
    padding-left: 36px !important;
}

/* Checkbox and Radio Styling */
.checkbox-group,
.radio-group {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
}

.checkbox-group input[type="checkbox"],
.radio-group input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 0;
}

/* Upload Areas */
.upload-area {
    border: 2px dashed #E5E7EB;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.2s;
}

.upload-area:hover {
    border-color: #667eea;
    background: #F8FAFF;
}

.upload-text {
    font-size: 10px !important;
    color: #6B7280;
}

/* Progress Indicators */
.progress-bar {
    height: 4px;
    background: #E5E7EB;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-header h1,
    .form-header h2,
    .form-title {
        font-size: 14px !important;
    }
    
    .form-subtitle,
    .form-description {
        font-size: 9px !important;
    }
    
    .form-control,
    .form-input,
    input,
    select,
    textarea {
        font-size: 10px !important;
        padding: 6px 10px !important;
    }
    
    .btn,
    button {
        font-size: 10px !important;
        padding: 8px 12px !important;
    }
}

/* Specific Form Overrides */
.auth-form .form-title {
    font-size: 16px !important;
}

.property-form .section-title {
    font-size: 14px !important;
    font-weight: 600;
    margin-bottom: 12px;
}

.verification-form .otp-input {
    width: 36px;
    height: 36px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

/* Remove Emojis - Replace with Icons */
.emoji-replace {
    display: none;
}

/* Icon Replacements */
.icon-home::before { content: "🏠"; }
.icon-phone::before { content: "📱"; }
.icon-email::before { content: "📧"; }
.icon-lock::before { content: "🔒"; }
.icon-user::before { content: "👤"; }
.icon-check::before { content: "✅"; }
.icon-warning::before { content: "⚠️"; }
.icon-info::before { content: "ℹ️"; }

/* Hide emoji fallbacks when icons are available */
.has-icons .emoji-replace {
    display: none;
}