.account-form-container {
    margin-top: 20px;
    padding: 0;
}

.account-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.account-section-title {
    margin-bottom: 25px;
    font-weight: 600;
    color: #0d6efd;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
}

.account-section-title-row {
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.account-section-title-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.account-section-title i {
    font-size: 20px;
}

.my-account-pencil-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid #0d6efd;
    border-radius: 8px;
    background: #fff;
    color: #0d6efd;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.my-account-pencil-btn:hover {
    background: #0d6efd;
    color: #fff;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.35);
}

.my-account-pencil-btn:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.35);
}

.my-account-pencil-btn[hidden],
.my-account-pencil-btn.is-hidden {
    display: none !important;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    border-color: #0d6efd;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.form-control:read-only {
    background-color: #e9ecef;
    cursor: not-allowed;
}

textarea.form-control.myinfo-address-field {
    min-height: 88px;
    resize: vertical;
}

.form-control::placeholder {
    color: #6c757d;
}

.password-toggle-wrapper {
    position: relative;
}

.password-toggle-wrapper .form-control {
    padding-right: 44px;
}

.password-toggle-btn {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 999px;
    background: rgba(13, 110, 253, 0.08);
    color: #4b5563;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.password-toggle-btn:hover {
    color: #0d6efd;
    background: rgba(13, 110, 253, 0.16);
}

.password-toggle-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.25);
}

.form-text {
    display: block;
    margin-top: 5px;
    font-size: 12px;
}

.text-muted {
    color: #6c757d !important;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.btn {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background-color: #0d6efd;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(13, 110, 253, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background-color: #6c757d;
    color: #ffffff;
}

.btn-secondary:hover {
    background-color: #5c636a;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(108, 117, 125, 0.3);
}

.btn-secondary:active {
    transform: translateY(0);
}

.btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none !important;
}

.message-div {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.message-div.success {
    background-color: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

.message-div.error {
    background-color: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}

.message-div.info {
    background-color: #cff4fc;
    color: #055160;
    border: 1px solid #b6effb;
}

/* Tab styling */
.nav-tabs {
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 0;
}

.nav-tabs .nav-link {
    color: #6c757d;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 12px 24px;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.nav-tabs .nav-link:hover {
    color: #0d6efd;
    border-bottom-color: #0d6efd;
}

.nav-tabs .nav-link.active {
    color: #0d6efd;
    background-color: transparent;
    border-bottom-color: #0d6efd;
    font-weight: 600;
}

.tab-content {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 0 0 12px 12px;
    min-height: 400px;
}

.tab-pane {
    animation: fadeIn 0.3s ease-in;
}

.badge {
    align-self: start;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .account-card {
        padding: 20px;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

