/* Form Styles for SMM Panel */
/* Dedicated stylesheet for form components and interactions */

/* Form Input Base Styles */
.form-input {
    background: #1a1a1a;
    border: 1px solid #374151;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: #dc2626;
    outline: none;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-input.error {
    border-color: #ef4444;
}

.form-input.success {
    border-color: #10b981;
}

/* Floating Labels */
.floating-label {
    transition: all 0.3s ease;
}

.input-group:focus-within .floating-label,
.input-group.has-value .floating-label {
    transform: translateY(-1.5rem) scale(0.85);
    color: #dc2626;
}

/* Password Strength Indicator */
.password-strength {
    height: 4px;
    background: #374151;
    border-radius: 2px;
    overflow: hidden;
    margin-top: 8px;
}

.strength-bar {
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.strength-weak { 
    background: #ef4444; 
    width: 25%; 
}

.strength-fair { 
    background: #f59e0b; 
    width: 50%; 
}

.strength-good { 
    background: #3b82f6; 
    width: 75%; 
}

.strength-strong { 
    background: #10b981; 
    width: 100%; 
}

/* Multi-step Form Components */
.step-indicator {
    transition: all 0.3s ease;
}

.step-indicator.active {
    background: #dc2626;
    color: white;
}

.step-indicator.completed {
    background: #10b981;
    color: white;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Account Type Selection */
.account-type-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.account-type-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.2);
}

.account-type-card.selected {
    border: 2px solid #dc2626;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(185, 28, 28, 0.1));
}

/* Verification Styles */
.verification-input {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    border: 2px solid #374151;
    border-radius: 8px;
    background: #1a1a1a;
    color: white;
    transition: border-color 0.3s ease;
}

.verification-input:focus {
    border-color: #dc2626;
    outline: none;
}

.verification-input.filled {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

/* Form Validation Messages */
.error-message {
    color: #ef4444;
    font-size: 14px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.success-message {
    color: #10b981;
    font-size: 14px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* File Upload Styles */
.file-upload-area {
    border: 2px dashed #374151;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: border-color 0.3s ease;
    cursor: pointer;
}

.file-upload-area:hover {
    border-color: #dc2626;
}

.file-upload-area.dragover {
    border-color: #dc2626;
    background: rgba(220, 38, 38, 0.05);
}

/* Form Progress */
.form-progress {
    height: 4px;
    background: #374151;
    border-radius: 2px;
    overflow: hidden;
}

.form-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #dc2626, #b91c1c);
    transition: width 0.3s ease;
}

/* Custom Checkbox and Radio */
.custom-checkbox {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #374151;
    border-radius: 4px;
    background: #1a1a1a;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.custom-checkbox:checked {
    background: #dc2626;
    border-color: #dc2626;
}

.custom-checkbox:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.custom-radio {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #374151;
    border-radius: 50%;
    background: #1a1a1a;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.custom-radio:checked {
    border-color: #dc2626;
}

.custom-radio:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #dc2626;
    border-radius: 50%;
}
