/* ==================== USER ACCOUNT EDIT SECTION ==================== */
.account-edit-container {
    max-width: 900px;
    margin: 0 auto;
}

.account-edit-form {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    border: 1px solid #e9ecef;
}

.account-edit-form h2 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.account-edit-form h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #007bff, #0056b3);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

/* Compact form controls */
.account-edit-form .form-control {
    border-radius: 8px;
    border: 1px solid #ced4da;
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: #fafbfc;
}

.account-edit-form .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15);
    background-color: #ffffff;
    transform: translateY(-1px);
}

.account-edit-form .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

/* Compact grid spacing */
.account-edit-form .row.g-3 {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
}

/* Special styling for nickname section */
.nickname-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 10px;
    padding: 1.2rem;
    margin: 1rem 0;
    border: 1px solid #dee2e6;
}

.nickname-section .form-label {
    color: #6c757d;
    font-weight: 500;
}

.nickname-checkbox {
    background: #fff;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #dee2e6;
    margin-top: 0.5rem;
}

.nickname-checkbox .form-check-input {
    transform: scale(1.1);
    margin-right: 0.6rem;
}

.nickname-checkbox .form-check-label {
    font-size: 0.9rem;
    color: #495057;
    line-height: 1.4;
}

.nickname-checkbox small {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #6c757d;
    font-style: italic;
}

/* Image upload section */
.image-upload-section {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1rem;
    border: 2px dashed #dee2e6;
    text-align: center;
    transition: all 0.3s ease;
}

.image-upload-section:hover {
    border-color: #007bff;
    background: #f0f7ff;
}

.image-upload-section .form-control {
    background: transparent;
    border: none;
    text-align: center;
}

.image-upload-section .img-thumbnail {
    margin-top: 1rem;
    border-radius: 8px;
    border: 2px solid #dee2e6;
}

/* Terms checkbox */
.terms-section {
    background: #fff3cd;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #ffeaa7;
    margin: 1.5rem 0;
}

.terms-section .form-check-input {
    transform: scale(1.1);
}

.terms-section .form-check-label {
    font-size: 0.9rem;
    line-height: 1.5;
}

.terms-section a {
    color: #007bff;
    font-weight: 500;
}

/* Action buttons */
.account-edit-actions {
    text-align: center;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.account-edit-actions .btn {
    border-radius: 25px;
    padding: 0.7rem 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    min-width: 120px;
}

.account-edit-actions .btn-primary {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border: none;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.account-edit-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 123, 255, 0.4);
}

.account-edit-actions .btn-secondary {
    background: #6c757d;
    border: none;
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.account-edit-actions .btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* Success alert styling */
.alert-success {
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2);
}

/* ==================== END USER ACCOUNT EDIT SECTION ==================== */
