
/* SAPIANT GLOBAL — MY ACCOUNT */

.account-page {
    min-height: 75vh;
    padding: 90px 0 120px;
    background: #f6f8f7;
}

.account-container {
    max-width: 1050px;
}

.account-heading {
    margin-bottom: 38px;
}

.account-heading h1 {
    font-size: clamp(2.3rem, 5vw, 3.8rem);
    color: #123047;
    margin: 12px 0;
}

.account-heading > p:last-child {
    color: #687780;
    font-size: 1rem;
}

#accountStatus {
    color: #52656d;
}

.account-card {
    background: #ffffff;
    border: 1px solid #e1e9e6;
    border-radius: 18px;
    padding: 35px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.04);
}

.account-card[hidden] {
    display: none !important;
}

.account-card-heading {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 28px;
    border-bottom: 1px solid #e8eeeb;
}

.account-avatar {
    width: 65px;
    height: 65px;
    border-radius: 16px;
    background: #e4f4ed;
    color: #168a70;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 800;
}

.account-card-heading h2 {
    color: #123047;
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.account-card-heading p {
    color: #75838a;
    font-size: 0.9rem;
}

.account-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.account-info {
    background: #f7faf8;
    padding: 22px;
    border-radius: 10px;
    min-width: 0;
}

.account-info span {
    display: block;
    font-size: 0.8rem;
    color: #71828a;
    margin-bottom: 10px;
}

.account-info strong {
    display: block;
    color: #123047;
    font-size: 0.95rem;
    overflow-wrap: anywhere;
}

.account-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.account-primary-btn,
.account-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

.account-primary-btn {
    background: #168a70;
    color: #ffffff;
}

.account-secondary-btn {
    background: transparent;
    color: #168a70;
    border: 1px solid #168a70;
}

.account-primary-btn:hover {
    background: #116b57;
}

.account-secondary-btn:hover {
    background: #eaf5ef;
}

@media (max-width: 650px) {
    .account-page {
        padding: 55px 0 75px;
    }

    .account-card {
        padding: 22px;
    }

    .account-info-grid {
        grid-template-columns: 1fr;
    }

    .account-actions {
        flex-direction: column;
    }
}


/* EDIT PROFILE */

.account-edit-section {
    margin-top: 35px;
    padding-top: 30px;
    border-top: 1px solid #e8eeeb;
}

.account-edit-heading h3 {
    color: #123047;
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.account-edit-heading p {
    color: #71828a;
    font-size: 0.9rem;
}

.account-edit-form {
    margin-top: 24px;
}

.account-edit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 22px;
}

.account-edit-field label {
    display: block;
    color: #123047;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 9px;
}

.account-edit-field input {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #d6e2dc;
    border-radius: 8px;
    background: #fff;
    color: #123047;
    font: inherit;
}

.account-edit-field input:focus {
    outline: 2px solid #168a70;
    outline-offset: 2px;
}

.account-edit-form button {
    border: none;
    cursor: pointer;
    font: inherit;
}

#profileStatus {
    margin-top: 14px;
    font-size: 0.9rem;
    color: #52656d;
}

@media (max-width: 650px) {
    .account-edit-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================================
   ACCOUNT SECURITY
================================== */

.account-security-section {
    margin-top: 35px;
    padding-top: 30px;
    border-top: 1px solid #e8eeeb;
}

.account-security-section .account-edit-heading h3 {
    color: #123047;
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.account-security-section .account-edit-heading p {
    color: #71828a;
    font-size: 0.9rem;
    line-height: 1.6;
}

.account-security-section .account-edit-form {
    max-width: 520px;
}

.account-security-section .account-edit-field {
    margin-bottom: 20px;
}

.account-security-section .account-edit-field input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d6e2dc;
    border-radius: 8px;
    background: #ffffff;
    color: #123047;
    font: inherit;
    transition: border-color 0.2s ease;
}

.account-security-section .account-edit-field input:focus {
    border-color: #168a70;
    outline: 2px solid #168a70;
    outline-offset: 2px;
}

#changePasswordButton {
    margin-top: 5px;
    cursor: pointer;
}

#changePasswordButton:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#passwordStatus {
    margin-top: 15px;
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 650px) {
    .account-security-section {
        margin-top: 28px;
        padding-top: 25px;
    }

    .account-security-section .account-edit-form {
        max-width: 100%;
    }
}
