/* Profile form styles */
.profile-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.profile-title {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

/* Section styling */
.profile-section {
    margin-bottom: 25px;
    padding: 15px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
}

.section-title {
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
    font-weight: 600;
    padding-bottom: 5px;
}

/* Form row and column layout */
.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.form-column {
    flex: 1;
    min-width: 250px;
}

.form-column.full-width {
    flex: 100%;
    min-width: 100%;
}

.profile-form .form-control {
    margin-bottom: 15px;
}

.profile-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.profile-form input[type="text"],
.profile-form input[type="email"],
.profile-form input[type="url"],
.profile-form input[type="tel"],
.profile-form input[type="password"],
.profile-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    background-color: #fff;
    color: #333;
    min-height: 44px;
}

.profile-form select {
    height: 44px;
    line-height: 1.4;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.profile-form select option {
    padding: 8px 12px;
    background-color: #fff;
    color: #333;
    font-size: 14px;
}

.profile-form input[readonly] {
    background-color: #f5f5f5;
    color: #666;
    cursor: not-allowed;
}

.profile-form small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
    font-style: italic;
}

.profile-form .error-field {
    color: #d63638;
    font-size: 14px;
    margin-top: 5px;
    display: block;
    padding: 8px 12px;
    background: #fef7f7;
    border: 1px solid #d63638;
    border-radius: 4px;
}

.profile-form input[type="submit"] {
    width: 100%;
    padding: 12px;
    background: #ED1C24;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.profile-form input[type="submit"]:hover {
    background: #000;
}

.profile-form input[type="submit"]:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

/* Change Password Button */
.change-password-btn {
    padding: 12px 24px;
    background: white;
    color: #ED1C24;
    border: 2px solid #ED1C24;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.change-password-btn:hover {
    background: #ED1C24;
    color: white;
}

/* Password Fields Container */
.password-fields {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e1e1e1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-form-container {
        margin: 10px;
        padding: 15px;
    }
    
    .profile-title {
        font-size: 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-column {
        min-width: 100%;
    }
    
    .profile-section {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .section-title {
        font-size: 16px;
    }
}

/* Two-Factor Authentication Styling */
.2fa-status {
    margin-top: 10px;
}

.2fa-enabled {
    color: #28a745;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.2fa-disabled {
    color: #dc3545;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.2fa-description {
    color: #666;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 15px;
}

.enable-2fa-btn {
    padding: 12px 24px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.enable-2fa-btn:hover {
    background: #218838;
}

.disable-2fa-btn {
    padding: 12px 24px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.disable-2fa-btn:hover {
    background: #c82333;
}

.2fa-setup-form {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e1e1e1;
}

.2fa-qr-code {
    text-align: center;
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
}

.2fa-instructions {
    color: #666;
    font-size: 14px;
    line-height: 1.4;
    margin-top: 10px;
}

.verify-2fa-btn {
    padding: 12px 24px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-right: 10px;
}

.verify-2fa-btn:hover {
    background: #218838;
}

.cancel-2fa-btn {
    padding: 12px 24px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cancel-2fa-btn:hover {
    background: #5a6268;
}

/* 2FA verification code input styling */
#2fa-verification-code {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    font-family: monospace;
} 