/* Chopper Originals My Account v0.1.0 */

.co-my-account-page-active .site-content,
.co-my-account-page-active #page > .site-content {
    display: none !important;
}

.co-account {
    --co-orange: #ff7800;
    --co-orange-dark: #d96300;
    --co-dark: #171d28;
    --co-text: #202632;
    --co-muted: #687386;
    --co-border: #e1e6ee;

    max-width: 1220px;
    margin: 0 auto;
    padding: 46px 28px 70px;
    color: var(--co-text);
}

.co-account * {
    box-sizing: border-box;
}

.co-account .co-eyebrow {
    margin-bottom: 10px;
    color: var(--co-orange);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .16em;
}

.co-account h1,
.co-account h2 {
    margin-top: 0;
    color: var(--co-text);
}

.co-account h1 {
    max-width: 780px;
    margin-bottom: 16px;
    font-size: clamp(40px, 4.5vw, 60px);
    line-height: 1.04;
    letter-spacing: -.035em;
}

.co-account h2 {
    margin-bottom: 10px;
    font-size: 27px;
    line-height: 1.15;
}

.co-account-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(250px, .55fr);
    gap: 34px;
    align-items: center;
    padding: 42px 46px;
    border: 1px solid var(--co-border);
    border-radius: 18px;
    background:
        radial-gradient(circle at 88% 0%, rgba(255,120,0,.11), transparent 34%),
        linear-gradient(135deg,#fff 0%,#f8fafc 100%);
    box-shadow: 0 18px 44px rgba(31,41,55,.08);
}

.co-account-lead {
    max-width: 830px;
    margin: 0;
    color: #4d586b;
    font-size: 18px;
    line-height: 1.65;
}

.co-account-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.co-account .co-btn {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0 21px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none !important;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.co-account .co-btn:hover {
    transform: translateY(-1px);
}

.co-btn-primary {
    background: var(--co-orange);
    color: #fff !important;
    box-shadow: 0 7px 18px rgba(255,120,0,.22);
}

.co-btn-primary:hover,
.co-btn-primary:focus {
    background: #e96d00;
}

.co-btn-secondary {
    border-color: #d1d8e2 !important;
    background: #fff;
    color: #323a48 !important;
}

.co-btn-secondary:hover,
.co-btn-secondary:focus {
    border-color: #ffb06a !important;
    color: var(--co-orange-dark) !important;
}

.co-btn-dark {
    min-width: 110px;
    background: var(--co-dark);
    color: #fff !important;
}

.co-account-identity {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    padding: 24px 20px;
    border: 1px solid #e1e6ee;
    border-radius: 14px;
    background: rgba(255,255,255,.86);
    text-align: center;
}

.co-avatar-wrap img {
    display: block;
    width: 86px;
    height: 86px;
    margin-bottom: 14px;
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 5px 18px rgba(31,41,55,.14);
}

.co-account-identity strong {
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: 18px;
}

.co-account-identity > span {
    max-width: 100%;
    margin-top: 3px;
    overflow-wrap: anywhere;
    color: var(--co-muted);
    font-size: 13px;
}

.co-status-pill {
    margin-top: 15px;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .02em;
}

.co-status-pill.is-active {
    background: #eaf8ef;
    color: #267044;
}

.co-status-pill.is-inactive {
    background: #fff0f0;
    color: #943e3e;
}

.co-status-pill.is-admin {
    background: #fff3e8;
    color: #ae5507;
}

.co-account-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 24px;
    padding-top: 34px;
}

.co-account-card {
    padding: 28px 30px;
    border: 1px solid var(--co-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(31,41,55,.05);
}

.co-account-card-featured {
    border-top: 4px solid var(--co-orange);
    padding-top: 25px;
}

.co-card-intro,
.co-small-note {
    color: var(--co-muted);
    line-height: 1.65;
}

.co-card-intro {
    margin: 0 0 21px;
}

.co-small-note {
    margin: 18px 0 2px;
    font-size: 14px;
}

.co-detail-list {
    margin: 18px 0 0;
    border-top: 1px solid #edf0f4;
}

.co-detail-row {
    display: grid;
    grid-template-columns: minmax(120px,.8fr) minmax(0,1.4fr);
    gap: 16px;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px solid #edf0f4;
}

.co-detail-row span {
    color: var(--co-muted);
    font-size: 14px;
}

.co-detail-row strong {
    min-width: 0;
    overflow-wrap: anywhere;
    text-align: right;
    font-size: 14px;
}

.co-text-link {
    display: inline-block;
    margin-top: 18px;
    color: var(--co-orange-dark) !important;
    font-weight: 800;
    text-decoration: none !important;
}

.co-account-quick {
    padding-top: 42px;
}

.co-section-heading {
    margin-bottom: 20px;
}

.co-section-heading h2 {
    margin-bottom: 0;
    font-size: 30px;
}

.co-quick-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 18px;
}

.co-quick-card {
    display: flex;
    min-height: 170px;
    flex-direction: column;
    padding: 24px;
    border: 1px solid var(--co-border);
    border-radius: 13px;
    background: #fff;
    color: var(--co-text) !important;
    text-decoration: none !important;
    box-shadow: 0 8px 22px rgba(31,41,55,.045);
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.co-quick-card:hover,
.co-quick-card:focus {
    transform: translateY(-2px);
    border-color: #ffc18a;
    box-shadow: 0 12px 28px rgba(31,41,55,.08);
}

.co-quick-icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    margin-bottom: 17px;
    border-radius: 9px;
    background: #fff2e7;
    color: var(--co-orange-dark);
    font-size: 20px;
    font-weight: 900;
}

.co-quick-card strong {
    margin-bottom: 7px;
    font-size: 18px;
}

.co-quick-card > span:last-child {
    color: var(--co-muted);
    font-size: 14px;
    line-height: 1.55;
}

.co-account-footer-card {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    margin-top: 36px;
    padding: 27px 30px;
    border-radius: 14px;
    background: var(--co-dark);
    color: #dfe5ee;
}

.co-account-footer-card .co-eyebrow {
    color: #ff9b42;
}

.co-account-footer-card h2 {
    margin-bottom: 5px;
    color: #fff;
}

.co-account-footer-card p {
    margin: 0;
    color: #c6ceda;
}

.co-account-footer-card .co-btn-dark {
    border: 1px solid rgba(255,255,255,.22);
    background: #272f3c;
}

.co-account-logged-out {
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.co-account-login-card {
    width: min(760px,100%);
    padding: 46px;
    border: 1px solid var(--co-border);
    border-top: 4px solid var(--co-orange);
    border-radius: 18px;
    background:
        radial-gradient(circle at 90% 0%, rgba(255,120,0,.10), transparent 33%),
        #fff;
    box-shadow: 0 18px 44px rgba(31,41,55,.08);
}

.co-account-login-card h1 {
    font-size: clamp(38px,4.2vw,54px);
}

.co-login-help {
    margin: 25px 0 0;
    color: var(--co-muted);
}

.co-login-help a {
    color: var(--co-orange-dark) !important;
    font-weight: 750;
}

@media (max-width: 900px) {
    .co-account-hero {
        grid-template-columns: 1fr;
    }

    .co-account-identity {
        align-items: flex-start;
        text-align: left;
    }

    .co-account-grid,
    .co-quick-grid {
        grid-template-columns: 1fr;
    }

    .co-avatar-wrap img {
        width: 72px;
        height: 72px;
    }
}

@media (max-width: 620px) {
    .co-account {
        padding: 28px 16px 46px;
    }

    .co-account-hero,
    .co-account-login-card {
        padding: 28px 24px;
    }

    .co-account-card {
        padding: 24px;
    }

    .co-detail-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .co-detail-row strong {
        text-align: left;
    }

    .co-account-footer-card {
        align-items: flex-start;
        flex-direction: column;
    }
}
