.account-page {
    position: relative;
    min-height: 850px;
    padding: 90px 0 150px;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 15%, rgba(12, 107, 79, 0.11), transparent 25%),
        radial-gradient(circle at 90% 85%, rgba(244, 166, 35, 0.13), transparent 28%),
        #f4f8f6;
}


.account-background-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}


.account-shape-one {
    top: -180px;
    right: -100px;
    width: 430px;
    height: 430px;
    background: rgba(12, 107, 79, 0.07);
}


.account-shape-two {
    bottom: -220px;
    left: -140px;
    width: 500px;
    height: 500px;
    background: rgba(244, 166, 35, 0.09);
}


.account-card {
    position: relative;
    z-index: 2;
    display: grid;
    max-width: 1180px;
    min-height: 720px;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    margin: 0 auto;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(12, 107, 79, 0.09);
    border-radius: 34px;
    box-shadow: 0 35px 100px rgba(16, 35, 29, 0.16);
}


.login-card {
    max-width: 1080px;
    min-height: 650px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
}


.account-visual {
    position: relative;
    display: flex;
    min-height: 100%;
    padding: 55px;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(circle at 85% 15%, rgba(244, 166, 35, 0.27), transparent 27%),
        linear-gradient(145deg, #062f24, #0c6b4f);
}


.account-visual::before {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 48px 48px;
    content: "";
    mask-image: linear-gradient(to bottom right, #000000, transparent);
}


.account-visual-content {
    position: relative;
    z-index: 3;
    display: flex;
    width: 100%;
    flex-direction: column;
}


.account-brand {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 12px;
    color: #ffffff;
}


.account-brand:hover {
    color: #ffffff;
    transform: translateY(-2px);
}


.account-brand > span:last-child {
    display: flex;
    flex-direction: column;
    line-height: 1;
}


.account-brand strong {
    color: #ffffff;
    font-family: "Playfair Display", serif;
    font-size: 1.55rem;
}


.account-brand small {
    margin-top: 6px;
    color: #94e7c8;
    font-size: 0.57rem;
    font-weight: 800;
    letter-spacing: 0.23em;
}


.account-visual-message {
    margin: auto 0;
    padding: 65px 0 45px;
}


.account-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 8px 13px;
    color: #d5f7e9;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 999px;
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}


.account-eyebrow i {
    color: var(--secondary);
}


.account-visual-message h1 {
    max-width: 510px;
    margin-bottom: 20px;
    color: #ffffff;
    font-family: "Playfair Display", serif;
    font-size: clamp(2.7rem, 4.4vw, 4.5rem);
    letter-spacing: -0.045em;
    line-height: 0.98;
}


.account-visual-message h1 span {
    display: block;
    color: var(--secondary);
}


.account-visual-message p {
    max-width: 520px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
}


.account-benefits {
    display: grid;
    gap: 14px;
}


.account-benefits > div {
    display: flex;
    align-items: center;
    gap: 13px;
}


.account-benefits > div > i {
    display: inline-flex;
    width: 41px;
    height: 41px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    background: var(--secondary);
    border-radius: 12px;
}


.account-benefits span {
    display: flex;
    flex-direction: column;
}


.account-benefits strong {
    color: #ffffff;
    font-size: 0.76rem;
}


.account-benefits small {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.62rem;
}


.account-visual-decoration {
    position: absolute;
    top: 30px;
    right: -45px;
    display: grid;
    grid-template-columns: repeat(2, 58px);
    gap: 11px;
    opacity: 0.14;
    transform: rotate(12deg);
}


.account-visual-decoration span {
    display: inline-flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 17px;
    font-size: 1.9rem;
    backdrop-filter: blur(6px);
}


/* Form panel */

.account-form-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 55px 62px;
}


.login-form-panel {
    padding: 65px 62px;
}


.account-form-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
}


.account-form-icon {
    display: inline-flex;
    width: 54px;
    height: 54px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary), #15956f);
    border-radius: 17px;
    box-shadow: 0 13px 28px rgba(12, 107, 79, 0.2);
    font-size: 1.3rem;
}


.account-form-header .section-eyebrow {
    margin-bottom: 5px;
    font-size: 0.62rem;
}


.account-form-header h2 {
    margin-bottom: 6px;
    font-family: "Playfair Display", serif;
    font-size: clamp(1.8rem, 3vw, 2.45rem);
}


.account-form-header p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.78rem;
}


/* Form fields */

.account-field {
    margin-bottom: 18px;
}


.account-field label,
.field-label-row label {
    margin-bottom: 7px;
    color: var(--dark-soft);
    font-size: 0.72rem;
    font-weight: 800;
}


.field-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}


.field-label-row > a {
    margin-bottom: 7px;
    color: var(--primary);
    font-size: 0.67rem;
    font-weight: 700;
}


.field-label-row > a:hover {
    color: var(--secondary-dark);
}


.field-input {
    position: relative;
    display: flex;
    align-items: center;
}


.field-input > i:first-child {
    position: absolute;
    left: 15px;
    z-index: 2;
    color: #85938e;
    font-size: 0.9rem;
    pointer-events: none;
}


.field-input .form-control,
.field-input .form-select {
    min-height: 49px;
    padding: 11px 46px 11px 43px;
    color: var(--dark);
    background: #f8faf9;
    border: 1px solid var(--border);
    border-radius: 13px;
    box-shadow: none;
    font-size: 0.78rem;
}


.field-input .form-control:focus,
.field-input .form-select:focus {
    background: #ffffff;
    border-color: rgba(12, 107, 79, 0.55);
    box-shadow: 0 0 0 4px rgba(12, 107, 79, 0.08);
}


.field-input .form-control::placeholder {
    color: #a0aca7;
}


.password-toggle {
    position: absolute;
    right: 9px;
    z-index: 3;
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    background: transparent;
    border: 0;
    border-radius: 9px;
}


.password-toggle:hover {
    color: var(--primary);
    background: var(--primary-light);
}


.field-error {
    display: block;
    margin-top: 6px;
    color: var(--danger);
    font-size: 0.65rem;
    font-weight: 600;
}


.form-error-summary {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 22px;
    padding: 13px 15px;
    color: #9f2834;
    background: #fff0f2;
    border: 1px solid #f8ccd1;
    border-radius: 13px;
    font-size: 0.73rem;
}


.form-error-summary > i {
    margin-top: 2px;
    flex: 0 0 auto;
}


.form-error-summary p {
    margin-bottom: 3px;
}


.form-error-summary p:last-child {
    margin-bottom: 0;
}


.account-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 2px 0 5px;
}


.account-checkbox .form-check-input {
    flex: 0 0 auto;
    margin-top: 3px;
    border-color: #b8c5bf;
    box-shadow: none;
}


.account-checkbox .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}


.account-checkbox label {
    color: var(--muted);
    font-size: 0.68rem;
}


/* Buttons */

.account-submit-button {
    display: flex;
    width: 100%;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 23px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary), #118361);
    border: 0;
    border-radius: 14px;
    box-shadow: 0 13px 28px rgba(12, 107, 79, 0.2);
    font-size: 0.8rem;
    font-weight: 800;
}


.account-submit-button:hover {
    color: #ffffff;
    box-shadow: 0 18px 35px rgba(12, 107, 79, 0.28);
    transform: translateY(-2px);
}


.account-submit-button i {
    transition: transform var(--transition);
}


.account-submit-button:hover i {
    transform: translateX(4px);
}


.account-legal {
    margin: 14px 0 0;
    color: var(--muted);
    text-align: center;
    font-size: 0.6rem;
}


.account-legal a {
    color: var(--primary);
    font-weight: 700;
}


.account-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 25px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
    font-size: 0.72rem;
}


.account-switch span {
    color: var(--muted);
}


.account-switch a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary);
    font-weight: 800;
}


.account-switch a:hover {
    color: var(--secondary-dark);
}


/* Login */

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}


.remember-option {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 0.68rem;
}


.remember-option .form-check-input {
    margin: 0;
    border-color: #b8c5bf;
    box-shadow: none;
}


.remember-option .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}


.secure-login {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--success);
    font-size: 0.64rem;
    font-weight: 700;
}


.account-divider {
    position: relative;
    margin: 26px 0 20px;
    color: var(--muted);
    text-align: center;
    font-size: 0.65rem;
}


.account-divider::before {
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 1px;
    background: var(--border);
    content: "";
}


.account-divider span {
    position: relative;
    z-index: 2;
    padding: 0 13px;
    background: #ffffff;
}


.create-account-button {
    display: flex;
    min-height: 49px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: var(--dark);
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 14px;
    font-size: 0.76rem;
    font-weight: 800;
}


.create-account-button:hover {
    color: var(--primary);
    background: var(--primary-light);
    border-color: rgba(12, 107, 79, 0.25);
    transform: translateY(-2px);
}


.account-security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 19px;
    color: var(--muted);
    font-size: 0.6rem;
}


.account-security-note i {
    color: var(--success);
}


.account-security-note p {
    margin: 0;
}


.login-quote {
    position: relative;
    padding: 22px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}


.login-quote > i {
    position: absolute;
    top: -18px;
    left: 18px;
    color: var(--secondary);
    font-size: 2.4rem;
}


.login-quote blockquote {
    margin: 0 0 13px;
    color: rgba(255, 255, 255, 0.82);
    font-family: "Playfair Display", serif;
    font-size: 0.92rem;
}


.login-quote > span {
    display: flex;
    flex-direction: column;
}


.login-quote strong {
    color: #ffffff;
    font-size: 0.7rem;
}


.login-quote small {
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.58rem;
}


.login-orbit {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}


.login-orbit-one {
    top: -100px;
    right: -120px;
    width: 350px;
    height: 350px;
}


.login-orbit-two {
    right: -200px;
    bottom: -250px;
    width: 520px;
    height: 520px;
    border-color: rgba(244, 166, 35, 0.13);
}


/* Responsive */

@media (max-width: 991.98px) {
    .account-page {
        padding: 65px 0 135px;
    }

    .account-card,
    .login-card {
        max-width: 720px;
        grid-template-columns: 1fr;
    }

    .account-visual {
        min-height: 480px;
    }

    .account-visual-message {
        padding: 60px 0 40px;
    }

    .account-form-panel,
    .login-form-panel {
        padding: 50px;
    }
}


@media (max-width: 575.98px) {
    .account-page {
        padding: 35px 0 110px;
    }

    .account-card {
        border-radius: 23px;
    }

    .account-visual {
        min-height: 430px;
        padding: 32px 25px;
    }

    .account-visual-message h1 {
        font-size: 2.7rem;
    }

    .account-form-panel,
    .login-form-panel {
        padding: 38px 24px;
    }

    .account-form-header {
        flex-direction: column;
    }

    .login-options {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}




/* Profile and settings pages */

.settings-page {
    min-height: 850px;
    padding: 80px 0 170px;
    background:
        radial-gradient(circle at 8% 12%, rgba(12, 107, 79, 0.09), transparent 25%),
        radial-gradient(circle at 92% 80%, rgba(244, 166, 35, 0.1), transparent 27%),
        #f5f8f6;
}


.settings-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 35px;
}


.settings-page-header > div:first-child > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 700;
}


.settings-page-header > div:first-child > a:hover {
    color: var(--primary);
    transform: translateX(-3px);
}


.settings-page-header .section-eyebrow {
    display: flex;
    width: fit-content;
    margin-bottom: 8px;
}


.settings-page-header h1 {
    margin-bottom: 9px;
    font-family: "Playfair Display", serif;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
}


.settings-page-header p {
    margin-bottom: 0;
    color: var(--muted);
}


.settings-security-badge {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 16px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
}


.settings-security-badge > i {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    color: var(--success);
    background: #e4f7ee;
    border-radius: 11px;
}


.settings-security-badge > span {
    display: flex;
    flex-direction: column;
}


.settings-security-badge strong {
    color: var(--dark);
    font-size: 0.68rem;
}


.settings-security-badge small {
    color: var(--muted);
    font-size: 0.56rem;
}


.profile-settings-grid {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    align-items: start;
    gap: 25px;
}


/* Profile image card */

.profile-picture-card {
    position: sticky;
    top: 25px;
    padding: 32px 24px;
    text-align: center;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow-sm);
}


.profile-picture-preview {
    position: relative;
    display: flex;
    width: 135px;
    height: 135px;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    overflow: visible;
    color: #ffffff;
    background:
        radial-gradient(circle at 70% 20%, rgba(244, 166, 35, 0.45), transparent 30%),
        linear-gradient(135deg, var(--primary-dark), var(--primary));
    border: 6px solid #ffffff;
    border-radius: 38px;
    box-shadow:
        0 0 0 1px var(--border),
        0 18px 38px rgba(12, 107, 79, 0.2);
    font-family: "Playfair Display", serif;
    font-size: 3.5rem;
    font-weight: 800;
}


.profile-picture-preview > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
    border-radius: 32px;
}


.profile-picture-button {
    position: absolute;
    right: -9px;
    bottom: -9px;
    display: inline-flex;
    width: 41px;
    height: 41px;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--secondary-dark);
    border: 4px solid #ffffff;
    border-radius: 13px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    font-size: 0.85rem;
    transition: transform var(--transition), background-color var(--transition);
}


.profile-picture-button:hover {
    background: var(--primary);
    transform: scale(1.1) rotate(4deg);
}


.profile-picture-card h2 {
    margin-bottom: 4px;
    font-size: 1rem;
}


.profile-picture-card > p {
    margin-bottom: 18px;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.64rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}


.profile-image-input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}


.profile-picture-guidance {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 11px;
    color: var(--muted);
    background: var(--surface-soft);
    border-radius: 11px;
    text-align: left;
}


.profile-picture-guidance i {
    flex: 0 0 auto;
    color: var(--primary);
}


.profile-picture-guidance p {
    margin: 0;
    font-size: 0.57rem;
}


.profile-account-meta {
    display: grid;
    gap: 10px;
    margin-top: 20px;
    padding-top: 17px;
    border-top: 1px solid var(--border);
}


.profile-account-meta > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}


.profile-account-meta span {
    color: var(--muted);
    font-size: 0.6rem;
}


.profile-account-meta strong {
    color: var(--dark);
    font-size: 0.62rem;
}


.profile-account-meta .status-active {
    padding: 4px 8px;
    color: var(--success);
    background: #e4f7ee;
    border-radius: 999px;
}


/* Profile form cards */

.profile-form-area {
    display: grid;
    gap: 20px;
}


.settings-form-card {
    padding: 30px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 21px;
    box-shadow: 0 10px 30px rgba(16, 35, 29, 0.04);
}


.settings-card-header {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}


.settings-card-header > span {
    display: inline-flex;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--primary-light);
    border-radius: 13px;
    font-size: 1.05rem;
}


.settings-card-header h2 {
    margin-bottom: 3px;
    font-size: 0.9rem;
}


.settings-card-header p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.62rem;
}


.settings-form-card .account-field {
    margin-bottom: 0;
}


.preference-checkbox {
    position: relative;
}


.preference-checkbox > input {
    position: absolute;
    top: 22px;
    right: 18px;
    z-index: 2;
    width: 19px;
    height: 19px;
    border-color: #b8c5bf;
    box-shadow: none;
}


.preference-checkbox > input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}


.preference-checkbox > label {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 17px 52px 17px 17px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 14px;
    cursor: pointer;
}


.preference-checkbox > input:checked + label {
    background: var(--primary-light);
    border-color: rgba(12, 107, 79, 0.25);
}


.preference-checkbox label > span {
    display: inline-flex;
    width: 41px;
    height: 41px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #ffffff;
    border-radius: 12px;
}


.preference-checkbox label > div {
    display: flex;
    flex-direction: column;
}


.preference-checkbox strong {
    color: var(--dark);
    font-size: 0.7rem;
}


.preference-checkbox small {
    color: var(--muted);
    font-size: 0.58rem;
}


.profile-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 18px 22px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 17px;
    box-shadow: var(--shadow-sm);
}


.profile-form-actions > a {
    padding: 11px 17px;
    color: var(--muted);
    border-radius: 11px;
    font-size: 0.68rem;
    font-weight: 800;
}


.profile-form-actions > a:hover {
    color: var(--dark);
    background: var(--surface-soft);
}


.profile-form-actions > button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    color: #ffffff;
    background: var(--primary);
    border: 0;
    border-radius: 11px;
    box-shadow: 0 10px 22px rgba(12, 107, 79, 0.18);
    font-size: 0.68rem;
    font-weight: 800;
}


.profile-form-actions > button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}


/* Profile responsive */

@media (max-width: 991.98px) {
    .profile-settings-grid {
        grid-template-columns: 1fr;
    }

    .profile-picture-card {
        position: static;
    }

    .profile-account-meta {
        max-width: 420px;
        margin-right: auto;
        margin-left: auto;
    }
}


@media (max-width: 767.98px) {
    .settings-page {
        padding: 60px 0 135px;
    }

    .settings-page-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .settings-form-card {
        padding: 23px;
    }
}


@media (max-width: 575.98px) {
    .settings-security-badge {
        width: 100%;
    }

    .profile-form-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .profile-form-actions > a,
    .profile-form-actions > button {
        justify-content: center;
        text-align: center;
    }
}



/* Address pages */

.address-page,
.address-form-page {
    position: relative;
}


.add-address-header-button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 9px;
    padding: 13px 18px;
    color: #ffffff;
    background: var(--primary);
    border-radius: 13px;
    box-shadow: 0 12px 26px rgba(12, 107, 79, 0.2);
    font-size: 0.7rem;
    font-weight: 800;
}


.add-address-header-button:hover {
    color: #ffffff;
    background: var(--primary-dark);
    transform: translateY(-3px);
}


/* Address summary */

.address-summary-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 24px;
    padding: 18px 21px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 17px;
    box-shadow: var(--shadow-sm);
}


.address-summary-bar > div {
    display: flex;
    align-items: center;
    gap: 12px;
}


.address-summary-icon {
    display: inline-flex;
    width: 43px;
    height: 43px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--primary-light);
    border-radius: 12px;
    font-size: 1.05rem;
}


.address-summary-bar > div > div {
    display: flex;
    flex-direction: column;
}


.address-summary-bar strong {
    color: var(--dark);
    font-size: 0.75rem;
}


.address-summary-bar small {
    color: var(--muted);
    font-size: 0.59rem;
}


.secure-address-note {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--success);
    font-size: 0.62rem;
    font-weight: 800;
}


/* Address cards */

.address-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}


.address-management-card,
.add-address-card {
    min-height: 365px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 21px;
    box-shadow: 0 10px 30px rgba(16, 35, 29, 0.045);
}


.address-management-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 22px;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}


.address-management-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: var(--border);
    content: "";
}


.address-management-card.default-address-card::before {
    background: linear-gradient(90deg, var(--primary), #31bd8f);
}


.address-management-card:hover {
    border-color: rgba(12, 107, 79, 0.2);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}


.address-card-top {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 11px;
    margin-bottom: 22px;
}


.address-type-icon {
    display: inline-flex;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--primary-light);
    border-radius: 14px;
    font-size: 1.1rem;
}


.address-card-top > div:nth-child(2) {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
}


.address-type-label {
    color: var(--dark);
    font-size: 0.73rem;
    font-weight: 900;
}


.default-address-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 7px;
    color: var(--success);
    background: #e4f7ee;
    border-radius: 999px;
    font-size: 0.51rem;
    font-weight: 800;
}


.address-card-menu > button {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    background: var(--surface-soft);
    border: 0;
    border-radius: 10px;
}


.address-card-menu > button:hover {
    color: var(--primary);
    background: var(--primary-light);
}


.address-card-menu .dropdown-menu {
    min-width: 180px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 13px;
    box-shadow: var(--shadow-md);
}


.address-card-menu .dropdown-item {
    padding: 8px 10px;
    border: 0;
    border-radius: 8px;
    font-size: 0.65rem;
}


.address-card-menu form {
    margin: 0;
}


.address-recipient {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 13px;
}


.address-recipient > i {
    color: var(--primary);
    font-size: 1.1rem;
}


.address-recipient > div {
    display: flex;
    flex-direction: column;
}


.address-recipient strong {
    color: var(--dark);
    font-size: 0.72rem;
}


.address-recipient small {
    color: var(--muted);
    font-size: 0.58rem;
}


.address-details {
    display: flex;
    flex-direction: column;
    margin: 0 0 16px;
    color: var(--text);
    font-size: 0.66rem;
    font-style: normal;
    line-height: 1.65;
}


.delivery-instruction-preview {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 16px;
    padding: 11px;
    background: #fff8e9;
    border: 1px solid #f6e6bd;
    border-radius: 11px;
}


.delivery-instruction-preview > i {
    flex: 0 0 auto;
    margin-top: 2px;
    color: var(--secondary-dark);
}


.delivery-instruction-preview p {
    display: flex;
    flex-direction: column;
    margin: 0;
}


.delivery-instruction-preview strong {
    color: var(--dark);
    font-size: 0.56rem;
}


.delivery-instruction-preview span {
    color: var(--muted);
    font-size: 0.54rem;
}


.address-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}


.address-card-actions > a,
.address-card-actions button,
.address-card-actions > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    background: transparent;
    border: 0;
    font-size: 0.59rem;
    font-weight: 800;
}


.address-card-actions button:hover,
.address-card-actions > a:hover {
    color: var(--secondary-dark);
}


.address-card-actions > span {
    color: var(--success);
}


.address-card-actions form {
    margin: 0;
}


/* Add-address card */

.add-address-card {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 30px;
    color: var(--muted);
    background:
        radial-gradient(circle at center, rgba(12, 107, 79, 0.06), transparent 45%),
        rgba(255, 255, 255, 0.65);
    border: 2px dashed #cbd7d1;
    text-align: center;
}


.add-address-card:hover {
    color: var(--primary);
    background: var(--primary-light);
    border-color: var(--primary);
    transform: translateY(-5px);
}


.add-address-card > span {
    display: inline-flex;
    width: 57px;
    height: 57px;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: #ffffff;
    background: var(--primary);
    border-radius: 17px;
    box-shadow: 0 13px 28px rgba(12, 107, 79, 0.2);
    font-size: 1.25rem;
}


.add-address-card strong {
    margin-bottom: 5px;
    color: var(--dark);
    font-size: 0.78rem;
}


.add-address-card small {
    max-width: 230px;
    font-size: 0.6rem;
}


/* Empty address page */

.empty-address-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 70px 35px;
    text-align: center;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 28px;
    box-shadow: var(--shadow-md);
}


.empty-address-visual {
    position: relative;
    width: 190px;
    height: 150px;
    margin: 0 auto 28px;
}


.empty-address-pin {
    position: absolute;
    top: 25px;
    left: 65px;
    z-index: 3;
    display: inline-flex;
    width: 62px;
    height: 62px;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--primary);
    border-radius: 20px 20px 20px 4px;
    box-shadow: 0 18px 35px rgba(12, 107, 79, 0.25);
    font-size: 1.7rem;
    transform: rotate(-8deg);
}


.empty-address-route {
    position: absolute;
    height: 2px;
    border-top: 2px dashed rgba(12, 107, 79, 0.25);
}


.route-one {
    top: 100px;
    left: 10px;
    width: 100px;
    transform: rotate(14deg);
}


.route-two {
    top: 110px;
    right: 4px;
    width: 92px;
    transform: rotate(-18deg);
}


.empty-address-dot {
    position: absolute;
    width: 13px;
    height: 13px;
    background: var(--secondary);
    border: 3px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(244, 166, 35, 0.15);
}


.dot-one {
    bottom: 19px;
    left: 4px;
}


.dot-two {
    right: 0;
    bottom: 29px;
}


.empty-address-page h2 {
    margin-bottom: 10px;
    font-family: "Playfair Display", serif;
    font-size: 2rem;
}


.empty-address-page > p {
    max-width: 510px;
    margin: 0 auto 24px;
    color: var(--muted);
    font-size: 0.78rem;
}


.empty-address-page > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    color: #ffffff;
    background: var(--primary);
    border-radius: 12px;
    box-shadow: 0 11px 24px rgba(12, 107, 79, 0.18);
    font-size: 0.68rem;
    font-weight: 800;
}


/* Address form */

.address-form-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 35px;
}


.address-form-header > div:first-child > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 700;
}


.address-form-header > div:first-child > a:hover {
    color: var(--primary);
    transform: translateX(-3px);
}


.address-form-header .section-eyebrow {
    display: flex;
    width: fit-content;
    margin-bottom: 8px;
}


.address-form-header h1 {
    margin-bottom: 9px;
    font-family: "Playfair Display", serif;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
}


.address-form-header p {
    margin-bottom: 0;
    color: var(--muted);
}


.address-header-visual {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 17px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: 15px;
    box-shadow: 0 14px 30px rgba(12, 107, 79, 0.2);
}


.address-header-visual > i {
    font-size: 1.35rem;
}


.address-header-visual > span {
    display: flex;
    flex-direction: column;
}


.address-header-visual strong {
    color: #ffffff;
    font-size: 0.67rem;
}


.address-header-visual small {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.54rem;
}


.address-form-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 285px;
    align-items: start;
    gap: 24px;
}


.address-form-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow-sm);
}


.address-form-section {
    padding: 28px 32px;
    border-bottom: 1px solid var(--border);
}


.address-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}


.address-section-header > span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--primary-light);
    border-radius: 12px;
}


.address-section-header h2 {
    margin-bottom: 3px;
    font-size: 0.84rem;
}


.address-section-header p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.6rem;
}


.address-form-section .account-field {
    margin-bottom: 0;
}


.optional-label {
    margin-left: 4px;
    color: var(--muted);
    font-size: 0.54rem;
    font-weight: 500;
}


.textarea-field {
    align-items: flex-start;
}


.textarea-field > i {
    top: 15px;
}


.textarea-field textarea {
    min-height: 105px;
    resize: vertical;
}


.field-help {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.55rem;
}


.default-address-option {
    position: relative;
    margin-top: 20px;
}


.default-address-option > input {
    position: absolute;
    top: 24px;
    right: 19px;
    z-index: 3;
    width: 19px;
    height: 19px;
    border-color: #b8c5bf;
    box-shadow: none;
}


.default-address-option > input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}


.default-address-option > label {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 17px 55px 17px 17px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 14px;
    cursor: pointer;
}


.default-address-option > input:checked + label {
    background: var(--primary-light);
    border-color: rgba(12, 107, 79, 0.27);
}


.default-address-option label > span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    color: var(--secondary-dark);
    background: #fff4d8;
    border-radius: 12px;
}


.default-address-option label > div {
    display: flex;
    flex-direction: column;
}


.default-address-option strong {
    color: var(--dark);
    font-size: 0.7rem;
}


.default-address-option small {
    color: var(--muted);
    font-size: 0.58rem;
}


.address-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 32px;
    background: #fbfcfb;
}


.address-form-actions > a {
    padding: 11px 17px;
    color: var(--muted);
    border-radius: 11px;
    font-size: 0.68rem;
    font-weight: 800;
}


.address-form-actions > a:hover {
    color: var(--dark);
    background: #eef2f0;
}


.address-form-actions > button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    color: #ffffff;
    background: var(--primary);
    border: 0;
    border-radius: 11px;
    box-shadow: 0 10px 22px rgba(12, 107, 79, 0.18);
    font-size: 0.68rem;
    font-weight: 800;
}


.address-form-actions > button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}


/* Address form sidebar */

.address-form-sidebar {
    position: sticky;
    top: 25px;
    display: grid;
    gap: 17px;
}


.address-help-card,
.delivery-security-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 19px;
    box-shadow: var(--shadow-sm);
}


.address-help-card {
    padding: 25px;
}


.address-help-icon {
    display: inline-flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: var(--secondary-dark);
    background: #fff4d8;
    border-radius: 13px;
    font-size: 1.1rem;
}


.address-help-card h2 {
    margin-bottom: 17px;
    font-size: 0.9rem;
}


.address-help-card ul {
    display: grid;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}


.address-help-card li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--muted);
    font-size: 0.6rem;
}


.address-help-card li i {
    flex: 0 0 auto;
    margin-top: 2px;
    color: var(--success);
}


.delivery-security-card {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 18px;
}


.delivery-security-card > i {
    display: inline-flex;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    color: var(--success);
    background: #e4f7ee;
    border-radius: 11px;
}


.delivery-security-card strong {
    color: var(--dark);
    font-size: 0.66rem;
}


.delivery-security-card p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 0.55rem;
}


/* Delete address */

.delete-address-page {
    min-height: 760px;
    padding: 100px 0 180px;
    background:
        radial-gradient(circle at center, rgba(217, 79, 79, 0.07), transparent 35%),
        #f6f8f7;
}


.delete-address-card {
    max-width: 620px;
    margin: 0 auto;
    padding: 45px;
    text-align: center;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 27px;
    box-shadow: var(--shadow-lg);
}


.delete-warning-visual {
    position: relative;
    display: flex;
    width: 130px;
    height: 120px;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}


.warning-circle {
    position: absolute;
    border: 1px solid rgba(217, 79, 79, 0.15);
    border-radius: 50%;
}


.warning-circle-one {
    width: 95px;
    height: 95px;
}


.warning-circle-two {
    width: 125px;
    height: 125px;
}


.delete-warning-icon {
    position: relative;
    z-index: 2;
    display: inline-flex;
    width: 67px;
    height: 67px;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, #d94f4f, #b62f3b);
    border-radius: 21px;
    box-shadow: 0 17px 35px rgba(217, 79, 79, 0.25);
    font-size: 1.5rem;
    transform: rotate(-5deg);
}


.delete-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 14px 0 9px;
    color: var(--danger);
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


.delete-address-card h1 {
    margin-bottom: 9px;
    font-family: "Playfair Display", serif;
    font-size: 2.4rem;
}


.delete-description {
    margin-bottom: 23px;
    color: var(--muted);
    font-size: 0.73rem;
}


.delete-address-preview {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 15px;
    text-align: left;
}


.delete-address-title {
    display: flex;
    align-items: center;
    gap: 8px;
}


.delete-address-title strong {
    color: var(--primary);
    font-size: 0.62rem;
    text-transform: uppercase;
}


.delete-address-title span {
    padding: 3px 7px;
    color: var(--success);
    background: #e4f7ee;
    border-radius: 999px;
    font-size: 0.49rem;
    font-weight: 800;
}


.delete-address-preview h2 {
    margin: 5px 0 2px;
    font-size: 0.76rem;
}


.delete-address-preview address {
    margin: 0;
    color: var(--muted);
    font-size: 0.61rem;
    font-style: normal;
}


.default-deletion-notice {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 14px;
    padding: 12px;
    color: #815700;
    background: #fff6df;
    border: 1px solid #f3dfab;
    border-radius: 11px;
    text-align: left;
}


.default-deletion-notice i {
    flex: 0 0 auto;
    margin-top: 2px;
}


.default-deletion-notice p {
    margin: 0;
    font-size: 0.59rem;
}


.delete-address-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    margin-top: 25px;
}


.delete-address-actions > a,
.delete-address-actions > button {
    display: inline-flex;
    min-height: 45px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 17px;
    border-radius: 12px;
    font-size: 0.66rem;
    font-weight: 800;
}


.delete-address-actions > a {
    color: var(--dark);
    background: var(--surface-soft);
    border: 1px solid var(--border);
}


.delete-address-actions > a:hover {
    color: var(--primary);
    border-color: var(--primary);
}


.delete-address-actions > button {
    color: #ffffff;
    background: var(--danger);
    border: 1px solid var(--danger);
}


.delete-address-actions > button:hover {
    background: #b92d3a;
    border-color: #b92d3a;
    box-shadow: 0 11px 24px rgba(217, 79, 79, 0.22);
    transform: translateY(-2px);
}


.delete-security-message {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 0.54rem;
}


.delete-security-message i {
    color: var(--success);
}


/* Address responsive */

@media (max-width: 1199.98px) {
    .address-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 991.98px) {
    .address-form-layout {
        grid-template-columns: 1fr;
    }

    .address-form-sidebar {
        position: static;
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 767.98px) {
    .address-card-grid {
        grid-template-columns: 1fr;
    }

    .address-form-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .address-header-visual {
        width: 100%;
    }

    .address-form-sidebar {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 575.98px) {
    .address-summary-bar {
        align-items: flex-start;
        flex-direction: column;
    }

    .address-form-section {
        padding: 23px 20px;
    }

    .address-form-actions {
        align-items: stretch;
        flex-direction: column-reverse;
        padding: 19px 20px;
    }

    .address-form-actions > a,
    .address-form-actions > button {
        justify-content: center;
        text-align: center;
    }

    .delete-address-card {
        padding: 35px 22px;
        border-radius: 22px;
    }

    .delete-address-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }
}



/* Password pages */

.password-page,
.password-result-page {
    position: relative;
    min-height: 790px;
    padding: 95px 0 180px;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 14%, rgba(12, 107, 79, 0.1), transparent 25%),
        radial-gradient(circle at 92% 82%, rgba(55, 111, 206, 0.1), transparent 28%),
        #f4f8f6;
}


.password-card {
    display: grid;
    max-width: 1000px;
    min-height: 610px;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    margin: 0 auto;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
}


.password-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 50px;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(circle at 80% 15%, rgba(244, 166, 35, 0.3), transparent 28%),
        linear-gradient(145deg, #062f24, #0c6b4f);
    text-align: center;
}


.password-visual::before {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 45px 45px;
    content: "";
    mask-image: radial-gradient(circle, #000000, transparent 75%);
}


.reset-password-visual {
    background:
        radial-gradient(circle at 82% 15%, rgba(115, 183, 255, 0.32), transparent 28%),
        linear-gradient(145deg, #071d43, #215db2);
}


.reset-confirm-visual {
    background:
        radial-gradient(circle at 80% 15%, rgba(126, 230, 192, 0.25), transparent 28%),
        linear-gradient(145deg, #10231d, #087454);
}


.password-shield {
    position: relative;
    z-index: 2;
    display: flex;
    width: 115px;
    height: 115px;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    color: var(--dark);
    background: var(--secondary);
    border: 8px solid rgba(255, 255, 255, 0.14);
    border-radius: 35px;
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.22);
    font-size: 3rem;
    transform: rotate(-5deg);
    animation: passwordShieldFloat 4s ease-in-out infinite;
}


.security-ring {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    pointer-events: none;
}


.security-ring-one {
    width: 165px;
    height: 165px;
}


.security-ring-two {
    width: 225px;
    height: 225px;
    border-style: dashed;
    animation: passwordRingRotate 18s linear infinite;
}


.password-eyebrow {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 13px;
    color: #d4f6e8;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}


.password-eyebrow i {
    color: var(--secondary);
}


.password-visual h1 {
    position: relative;
    z-index: 2;
    margin-bottom: 15px;
    color: #ffffff;
    font-family: "Playfair Display", serif;
    font-size: clamp(2.3rem, 4vw, 3.6rem);
    line-height: 1;
}


.password-visual > p {
    position: relative;
    z-index: 2;
    max-width: 430px;
    margin-bottom: 27px;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.76rem;
}


.password-security-tips {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 10px;
    width: 100%;
    max-width: 350px;
}


.password-security-tips > div {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    color: rgba(255, 255, 255, 0.76);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 11px;
    font-size: 0.62rem;
    text-align: left;
    backdrop-filter: blur(7px);
}


.password-security-tips i {
    color: #7ee3bc;
}


.password-privacy-note {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 11px;
    max-width: 370px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    text-align: left;
}


.password-privacy-note > i {
    display: inline-flex;
    width: 39px;
    height: 39px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    color: #071d43;
    background: #8fc5ff;
    border-radius: 11px;
}


.password-privacy-note > span {
    display: flex;
    flex-direction: column;
}


.password-privacy-note strong {
    color: #ffffff;
    font-size: 0.65rem;
}


.password-privacy-note small {
    color: rgba(255, 255, 255, 0.54);
    font-size: 0.54rem;
}


/* Password form panel */

.password-form-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 55px 60px;
}


.password-back-link {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 7px;
    margin-bottom: 32px;
    color: var(--muted);
    font-size: 0.64rem;
    font-weight: 700;
}


.password-back-link:hover {
    color: var(--primary);
    transform: translateX(-3px);
}


.password-form-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 27px;
}


.password-form-header > span {
    display: inline-flex;
    width: 49px;
    height: 49px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--primary);
    border-radius: 15px;
    box-shadow: 0 12px 26px rgba(12, 107, 79, 0.2);
    font-size: 1.15rem;
}


.password-form-header .section-eyebrow {
    margin-bottom: 4px;
    font-size: 0.58rem;
}


.password-form-header h2 {
    margin-bottom: 5px;
    font-family: "Playfair Display", serif;
    font-size: 1.75rem;
}


.password-form-header p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.62rem;
}


.password-strength-box {
    margin: 18px 0 20px;
    padding: 13px 14px;
    color: #6d550f;
    background: #fff8e6;
    border: 1px solid #f2dfad;
    border-radius: 12px;
}


.password-strength-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 5px;
}


.password-strength-header span {
    color: #604500;
    font-size: 0.61rem;
    font-weight: 900;
}


.password-strength-box p {
    margin: 0;
    font-size: 0.56rem;
}


.password-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 11px;
    margin-top: 23px;
}


.password-form-actions > a,
.password-form-actions > button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 11px;
    font-size: 0.65rem;
    font-weight: 800;
}


.password-form-actions > a {
    color: var(--muted);
    background: var(--surface-soft);
    border: 1px solid var(--border);
}


.password-form-actions > button {
    color: #ffffff;
    background: var(--primary);
    border: 1px solid var(--primary);
}


.password-form-actions > button:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}


.password-primary-button {
    display: flex;
    width: 100%;
    min-height: 49px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 22px;
    color: #ffffff;
    background: var(--primary);
    border: 0;
    border-radius: 13px;
    box-shadow: 0 12px 25px rgba(12, 107, 79, 0.2);
    font-size: 0.7rem;
    font-weight: 900;
}


.password-primary-button:hover {
    background: var(--primary-dark);
    box-shadow: 0 17px 32px rgba(12, 107, 79, 0.27);
    transform: translateY(-2px);
}


.password-support-box {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 20px;
    padding: 11px 13px;
    background: var(--surface-soft);
    border-radius: 11px;
}


.password-support-box i {
    color: var(--primary);
}


.password-support-box p {
    margin: 0;
    color: var(--muted);
    font-size: 0.56rem;
}


.password-support-box a {
    color: var(--primary);
    font-weight: 800;
}


.password-account-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    font-size: 0.61rem;
}


.password-account-switch span {
    color: var(--muted);
}


.password-account-switch a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary);
    font-weight: 800;
}


/* Password result pages */

.password-result-card {
    max-width: 680px;
    margin: 0 auto;
    padding: 50px;
    text-align: center;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 28px;
    box-shadow: var(--shadow-lg);
}


.result-animation {
    position: relative;
    display: flex;
    width: 155px;
    height: 145px;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}


.result-circle {
    position: absolute;
    border: 1px solid rgba(12, 107, 79, 0.14);
    border-radius: 50%;
}


.result-circle-one {
    width: 105px;
    height: 105px;
}


.result-circle-two {
    width: 145px;
    height: 145px;
    border-style: dashed;
    animation: passwordRingRotate 18s linear infinite;
}


.result-main-icon {
    position: relative;
    z-index: 3;
    display: inline-flex;
    width: 73px;
    height: 73px;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary), #15a176);
    border-radius: 23px;
    box-shadow: 0 18px 38px rgba(12, 107, 79, 0.25);
    font-size: 1.8rem;
    transform: rotate(-5deg);
}


.result-floating-icon {
    position: absolute;
    z-index: 4;
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 11px;
    box-shadow: var(--shadow-sm);
}


.floating-icon-one {
    top: 13px;
    right: 9px;
}


.floating-icon-two {
    bottom: 6px;
    left: 8px;
}


.result-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
    color: var(--success);
    font-size: 0.61rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


.result-error-eyebrow {
    color: var(--danger);
}


.password-result-card > h1 {
    margin-bottom: 11px;
    font-family: "Playfair Display", serif;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
}


.password-result-card > p {
    max-width: 530px;
    margin: 0 auto 25px;
    color: var(--muted);
    font-size: 0.73rem;
}


.result-instructions {
    display: grid;
    gap: 10px;
    margin: 25px 0;
    text-align: left;
}


.result-instructions > div {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px;
    background: var(--surface-soft);
    border-radius: 12px;
}


.result-instructions > div > span {
    display: inline-flex;
    width: 33px;
    height: 33px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--primary);
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 900;
}


.result-instructions p {
    display: flex;
    flex-direction: column;
    margin: 0;
}


.result-instructions strong {
    color: var(--dark);
    font-size: 0.66rem;
}


.result-instructions small {
    color: var(--muted);
    font-size: 0.55rem;
}


.result-notice {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 12px 13px;
    color: #725400;
    background: #fff7df;
    border: 1px solid #efddaa;
    border-radius: 11px;
    text-align: left;
}


.result-notice i {
    flex: 0 0 auto;
    margin-top: 2px;
}


.result-notice p {
    margin: 0;
    font-size: 0.56rem;
}


.result-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    margin-top: 26px;
}


.result-primary-action,
.result-secondary-action {
    display: inline-flex;
    min-height: 45px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 17px;
    border-radius: 11px;
    font-size: 0.65rem;
    font-weight: 800;
}


.result-primary-action {
    color: #ffffff;
    background: var(--primary);
}


.result-primary-action:hover {
    color: #ffffff;
    background: var(--primary-dark);
    transform: translateY(-2px);
}


.result-secondary-action {
    color: var(--dark);
    background: var(--surface-soft);
    border: 1px solid var(--border);
}


.result-secondary-action:hover {
    color: var(--primary);
    border-color: var(--primary);
}


.result-help {
    display: block;
    margin-top: 19px;
    color: var(--muted);
    font-size: 0.53rem;
}


.password-success-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 24px 0;
}


.password-success-details > div {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    background: var(--surface-soft);
    border-radius: 12px;
    text-align: left;
}


.password-success-details > div > i {
    display: inline-flex;
    width: 35px;
    height: 35px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    color: var(--success);
    background: #e4f7ee;
    border-radius: 10px;
}


.password-success-details span {
    display: flex;
    flex-direction: column;
}


.password-success-details strong {
    color: var(--dark);
    font-size: 0.62rem;
}


.password-success-details small {
    color: var(--muted);
    font-size: 0.52rem;
}


.result-error-animation .result-main-icon {
    background: linear-gradient(135deg, var(--danger), #a72734);
    box-shadow: 0 18px 38px rgba(217, 79, 79, 0.24);
}


.result-error-animation .result-circle {
    border-color: rgba(217, 79, 79, 0.16);
}


/* Password animations */

@keyframes passwordShieldFloat {
    0%,
    100% {
        transform: translateY(0) rotate(-5deg);
    }

    50% {
        transform: translateY(-10px) rotate(2deg);
    }
}


@keyframes passwordRingRotate {
    to {
        transform: rotate(360deg);
    }
}


/* Password responsive */

@media (max-width: 991.98px) {
    .password-card {
        max-width: 700px;
        grid-template-columns: 1fr;
    }

    .password-visual {
        min-height: 500px;
    }
}


@media (max-width: 767.98px) {
    .password-page,
    .password-result-page {
        padding: 65px 0 140px;
    }

    .password-result-card {
        padding: 40px 25px;
    }
}


@media (max-width: 575.98px) {
    .password-card {
        border-radius: 22px;
    }

    .password-visual {
        min-height: 470px;
        padding: 38px 24px;
    }

    .password-form-panel {
        padding: 42px 24px;
    }

    .password-form-header {
        flex-direction: column;
    }

    .password-form-actions,
    .result-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .password-form-actions > a,
    .password-form-actions > button,
    .result-primary-action,
    .result-secondary-action {
        width: 100%;
    }

    .password-success-details {
        grid-template-columns: 1fr;
    }
}



/* =========================================================
   CHECKOUT READABILITY OVERRIDE
========================================================= */

.checkout-back-link {
    font-size: 14px;
    font-weight: 800;
}

.checkout-header-content > div:first-child > span {
    font-size: 13px;
    font-weight: 900;
}

.checkout-header-content p {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.7;
}

.checkout-security-badge strong {
    font-size: 14px;
    font-weight: 900;
}

.checkout-security-badge small {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}

.checkout-card-heading small {
    font-size: 12px;
    font-weight: 900;
}

.checkout-card-heading h2 {
    font-size: 31px;
    font-weight: 800;
}

.checkout-card-heading p {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
}

.checkout-step-number {
    font-size: 17px;
}

.checkout-field label {
    margin-bottom: 10px;
    color: #183c31;
    font-size: 14px;
    font-weight: 900;
}

.checkout-input {
    min-height: 54px;
    padding-right: 16px;
    padding-left: 16px;
    color: #183c31;
    font-size: 14px;
    font-weight: 600;
}

.checkout-input::placeholder {
    color: #8a9a94;
    font-size: 13px;
    font-weight: 500;
}

textarea.checkout-input {
    min-height: 125px;
    padding-top: 15px;
}

.checkout-field-error {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 800;
}

.checkout-form-errors {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
}

.checkout-choice-content strong {
    font-size: 15px;
    font-weight: 900;
}

.checkout-choice-content small {
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.55;
}

.checkout-choice-icon {
    font-size: 22px;
}

.checkout-choice-check {
    font-size: 11px;
}

.checkout-subheading span {
    font-size: 11px;
    font-weight: 900;
}

.checkout-subheading h3 {
    font-size: 26px;
    font-weight: 800;
}

.checkout-checkbox-card strong {
    font-size: 14px;
    font-weight: 900;
}

.checkout-checkbox-card small {
    margin-top: 5px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}

.checkout-payment-notice {
    padding: 16px;
}

.checkout-payment-notice i {
    font-size: 18px;
}

.checkout-payment-notice p {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.65;
}

/* ORDER SUMMARY */

.checkout-summary-heading span {
    font-size: 12px;
    font-weight: 900;
}

.checkout-summary-heading h2 {
    font-size: 34px;
    font-weight: 800;
}

.checkout-summary-product strong {
    font-size: 13px;
    font-weight: 900;
    line-height: 1.45;
}

.checkout-summary-product small {
    margin-top: 5px;
    font-size: 11px;
    font-weight: 600;
}

.checkout-summary-product > span {
    font-size: 13px;
    font-weight: 900;
}

.checkout-product-image b {
    width: 23px;
    height: 23px;
    font-size: 10px;
}

.checkout-summary-lines {
    padding: 24px 26px;
}

.checkout-summary-lines > div + div {
    margin-top: 18px;
}

.checkout-summary-lines span {
    font-size: 14px;
    font-weight: 700;
}

.checkout-summary-lines strong {
    font-size: 14px;
    font-weight: 900;
}

.checkout-summary-total {
    margin-right: 26px;
    margin-left: 26px;
    padding: 24px 0;
}

.checkout-summary-total span {
    font-size: 17px;
    font-weight: 900;
}

.checkout-summary-total small {
    max-width: 190px;
    margin-top: 7px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.5;
}

.checkout-summary-total > strong {
    font-size: 30px;
    font-weight: 900;
}

.checkout-submit-button {
    width: calc(100% - 52px);
    min-height: 58px;
    margin-right: 26px;
    margin-left: 26px;
    font-size: 14px;
    font-weight: 900;
}

.checkout-summary-security {
    margin: 18px 26px 26px;
    padding: 15px;
}

.checkout-summary-security i {
    font-size: 16px;
}

.checkout-summary-security p {
    font-size: 11px;
    font-weight: 600;
    line-height: 1.65;
}

/* RADIO AND CHECKBOX SIZE */

.checkout-choice-card {
    min-height: 88px;
    padding: 18px;
}

.checkout-choice-card > input,
.checkout-checkbox-card > input {
    width: 20px;
    height: 20px;
}

@media (max-width: 600px) {
    .checkout-card-heading h2 {
        font-size: 27px;
    }

    .checkout-header-content p {
        font-size: 14px;
    }

    .checkout-choice-content strong {
        font-size: 14px;
    }

    .checkout-input {
        font-size: 16px;
    }
}



.dashboard-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.dashboard-stat-card {
    min-height: 145px;
}

.dashboard-stat-detail {
    display: block;
    margin-top: 0.35rem;
    color: #60776f;
    font-size: 0.82rem;
    font-weight: 750;
}

.stat-active-orders .dashboard-stat-icon {
    background: #e7f4fb;
    color: #14739c;
}

.stat-reviews .dashboard-stat-icon {
    background: #fff4d5;
    color: #cb8900;
}

.stat-spending .dashboard-stat-icon {
    background: #eee8fb;
    color: #7046aa;
}

.dashboard-savings-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.2rem;
    padding: 1.25rem 1.4rem;
    border: 2px solid #ebc65d;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff8df, #fff0bd);
    color: #714f00;
    box-shadow: 0 12px 30px rgba(132, 91, 0, 0.08);
}

.dashboard-savings-banner > i {
    font-size: 2.2rem;
    color: #d89400;
}

.dashboard-savings-banner > div {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.dashboard-savings-banner span {
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.dashboard-savings-banner strong {
    font-size: 1.15rem;
    font-weight: 950;
}

.dashboard-savings-banner p {
    margin: 0;
    font-size: 0.84rem;
    font-weight: 700;
}

.dashboard-orders-panel {
    margin-top: 1.3rem;
}

.dashboard-order-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.dashboard-order {
    display: grid;
    grid-template-columns: minmax(170px, 1.5fr) repeat(4, minmax(100px, 1fr)) 32px;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 2px solid #d4e1dd;
    border-radius: 15px;
    background: #ffffff;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-order:hover {
    border-color: #89bbae;
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(7, 73, 57, 0.08);
}

.dashboard-order-number,
.dashboard-order-date,
.dashboard-order-items,
.dashboard-order-status,
.dashboard-order-total {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.dashboard-order span {
    color: #667c74;
    font-size: 0.72rem;
    font-weight: 750;
}

.dashboard-order-number a {
    color: #087c5c;
    font-size: 0.88rem;
    font-weight: 900;
    text-decoration: none;
}

.dashboard-order-date strong,
.dashboard-order-items strong,
.dashboard-order-total strong {
    color: #173b32;
    font-size: 0.88rem;
    font-weight: 900;
}

.dashboard-order-status strong {
    display: inline-flex;
    width: fit-content;
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    background: #e8f5f1;
    color: #087c5c;
    font-size: 0.73rem;
    font-weight: 900;
}

.dashboard-order-status .status-cancelled,
.dashboard-order-status .status-refunded {
    background: #feeceb;
    color: #b42318;
}

.dashboard-order-status .status-pending_payment,
.dashboard-order-status .status-draft {
    background: #fff4d9;
    color: #966600;
}

.dashboard-order-status .status-processing,
.dashboard-order-status .status-dispatched {
    background: #e8f2fb;
    color: #246aa1;
}

.dashboard-order-view {
    display: grid;
    width: 31px;
    height: 31px;
    place-items: center;
    border-radius: 9px;
    background: #e8f5f1;
    color: #087c5c;
    text-decoration: none;
}

.dashboard-review-summary {
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: #edf6f3;
    color: #3a6257;
    font-size: 0.78rem;
    font-weight: 850;
}

.dashboard-reviews-panel {
    margin-top: 1.3rem;
}

.dashboard-review-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.dashboard-review {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem;
    border: 2px solid #d5e2de;
    border-radius: 15px;
    background: #ffffff;
}

.dashboard-review-product {
    display: grid;
    width: 62px;
    height: 62px;
    overflow: hidden;
    place-items: center;
    border-radius: 12px;
    background: #eef4f2;
    text-decoration: none;
}

.dashboard-review-product img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dashboard-review-product > span {
    font-size: 1.5rem;
}

.dashboard-review-content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.2rem;
}

.dashboard-review-content > a {
    overflow: hidden;
    color: #153c31;
    font-size: 0.95rem;
    font-weight: 900;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-review-content > strong {
    color: #3f5d54;
    font-size: 0.83rem;
    font-weight: 800;
}

.dashboard-review-content > small {
    color: #6a7e77;
    font-size: 0.75rem;
    font-weight: 700;
}

.dashboard-review-stars {
    color: #efa912;
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.05em;
}

.dashboard-review-status {
    padding: 0.45rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 900;
    white-space: nowrap;
}

.dashboard-review-status.approved {
    background: #e6f6f0;
    color: #087c5c;
}

.dashboard-review-status.pending {
    background: #fff4d8;
    color: #946500;
}

@media (max-width: 1199.98px) {
    .dashboard-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-order {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-order-view {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .dashboard-stat-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-order {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .dashboard-review {
        grid-template-columns: 55px minmax(0, 1fr);
    }

    .dashboard-review-product {
        width: 55px;
        height: 55px;
    }

    .dashboard-review-status {
        grid-column: 1 / -1;
        width: fit-content;
    }

    .dashboard-savings-banner {
        align-items: flex-start;
    }
}

@media (max-width: 575.98px) {
    .dashboard-review-summary {
        margin-top: 0.6rem;
    }

    .dashboard-reviews-panel .dashboard-panel-header {
        align-items: flex-start;
        flex-direction: column;
    }
}




