:root {
    --account-blue: #176fff;
    --account-ink: #051423;
    --account-panel: #091b2d;
    --account-line: #203b54;
    --account-muted: #91a3b8;
}

.account-kicker {
    color: #408cff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.account-auth-page {
    min-height: 720px;
    padding: 72px 24px 90px;
    background:
        linear-gradient(90deg, rgba(2, 13, 25, .97) 0%, rgba(2, 13, 25, .82) 48%, rgba(2, 13, 25, .92) 100%),
        url('/sources/imgs/FvJVReS70wkZgxK32HeDgkNl5i6XRFq6BsGUdK4aZw.jpg') center/cover;
}

.account-auth-body .floating-cart { display: none; }

.account-auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(440px, 540px);
    gap: 80px;
    align-items: center;
    width: min(1180px, 100%);
    margin: 0 auto;
}

.account-auth-intro { max-width: 560px; }
.account-auth-intro h1 {
    margin: 18px 0;
    color: #fff;
    font-size: clamp(40px, 5vw, 67px);
    line-height: 1.02;
    letter-spacing: -.045em;
}
.account-auth-intro p { max-width: 500px; color: #acbbca; font-size: 17px; line-height: 1.7; }
.account-auth-intro ul { display: grid; gap: 15px; margin: 34px 0 0; padding: 0; color: #d9e4ef; list-style: none; }
.account-auth-intro li { display: flex; gap: 13px; align-items: center; }
.account-auth-intro li svg { width: 20px; color: var(--account-blue); }

.account-auth-card {
    overflow: hidden;
    border: 1px solid var(--account-line);
    border-radius: 12px;
    background: rgba(7, 23, 39, .96);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .38);
}

.account-auth-tabs {
    display: flex;
    overflow-x: auto;
    border-bottom: 1px solid var(--account-line);
    background: #061524;
}
.account-auth-tabs button,
.account-auth-tabs a {
    flex: 1;
    min-width: max-content;
    padding: 18px 15px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: #8497aa;
    font-size: 13px;
    text-align: center;
    text-decoration: none;
}
.account-auth-tabs button.active,
.account-auth-tabs button:hover,
.account-auth-tabs a:hover { border-bottom-color: var(--account-blue); color: #fff; }
.account-auth-notice { margin: 22px 42px 0; padding: 12px 14px; display: flex; gap: 10px; align-items: center; border: 1px solid #277b59; border-radius: 5px; background: rgba(35, 133, 91, .13); color: #8ce0b7; font-size: 11px; }

.account-form { display: grid; gap: 17px; padding: 38px 42px 42px; }
.account-form[hidden] { display: none; }
.account-form header { margin-bottom: 6px; }
.account-form h2 { margin: 0 0 8px; color: #fff; font-size: 27px; }
.account-form header p { margin: 0; color: var(--account-muted); }
.account-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.account-form label { display: grid; gap: 8px; color: #d8e2ec; font-size: 13px; }
.account-form label > small:not(.account-field-error) { color: #73879c; font-size: 11px; }
.account-form input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #29445d;
    border-radius: 5px;
    outline: 0;
    background: #071727;
    color: #fff;
}
.account-form input:focus { border-color: var(--account-blue); box-shadow: 0 0 0 3px rgba(23, 111, 255, .12); }
.account-form input.invalid { border-color: #ef5f69; }
.account-field-error { min-height: 14px; color: #ff737d; font-size: 11px; }
.account-form > button {
    height: 50px;
    margin-top: 5px;
    border: 0;
    border-radius: 5px;
    background: linear-gradient(100deg, #0d55de, #176fff);
    color: #fff;
    font-weight: 700;
}
.account-form > button:disabled { cursor: wait; opacity: .65; }
.account-form-message { min-height: 18px; margin: 0; color: var(--account-muted); font-size: 12px; text-align: center; }
.account-form-message.error { color: #ff737d; }
.account-form-message.success { color: #3cda87; }

.account-page {
    min-height: 720px;
    padding: 58px 0 90px;
    background:
        radial-gradient(circle at 85% 0, rgba(26, 110, 232, .11), transparent 28%),
        linear-gradient(#031220, #020e19);
}

.account-dashboard-header { display: flex; justify-content: space-between; gap: 30px; align-items: flex-end; }
.account-dashboard-header h1 { margin: 8px 0; color: #fff; font-size: clamp(34px, 4vw, 52px); }
.account-dashboard-header p { margin: 0; color: var(--account-muted); }
.account-header-actions { display: flex; gap: 10px; }
.account-header-actions a,
.account-header-actions button {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 11px 16px;
    border: 1px solid #29445d;
    border-radius: 5px;
    background: #081a2b;
    color: #dce7f1;
    text-decoration: none;
}

.account-stats { display: grid; grid-template-columns: 160px 160px minmax(260px, 1fr) 190px; gap: 14px; margin: 36px 0 52px; }
.account-stats article { display: flex; gap: 15px; align-items: center; min-height: 88px; padding: 18px; border: 1px solid var(--account-line); border-radius: 7px; background: rgba(8, 26, 43, .8); }
.account-stats article > svg { color: var(--account-blue); font-size: 24px; }
.account-stats div { display: grid; min-width: 0; }
.account-stats strong { overflow: hidden; color: #fff; font-size: 18px; text-overflow: ellipsis; }
.account-stats span { color: var(--account-muted); font-size: 11px; }

.account-section-heading { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 22px; }
.account-section-heading span { color: #408cff; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.account-section-heading h2 { margin: 5px 0 0; color: #fff; font-size: 30px; }
.account-section-heading > a { color: #57a0ff; text-decoration: none; }
.account-profile { margin-bottom: 58px; }
.account-profile .account-section-heading > p { max-width: 420px; margin: 0; color: var(--account-muted); font-size: 12px; text-align: right; }
.account-profile-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.account-profile-panel { padding: 24px; border: 1px solid var(--account-line); border-radius: 8px; background: rgba(8, 26, 43, .82); }
.account-profile-panel > header { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.account-profile-panel > header > svg { margin-top: 3px; color: var(--account-blue); font-size: 23px; }
.account-profile-panel h3 { margin: 0 0 5px; color: #fff; font-size: 17px; }
.account-profile-panel header p { margin: 0; color: var(--account-muted); font-size: 11px; line-height: 1.55; }
.account-profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.account-profile-grid label { display: grid; gap: 7px; color: #d8e2ec; font-size: 11px; }
.account-profile-grid label.wide { grid-column: 1 / -1; }
.account-profile-grid label span b { color: #ff6974; }
.account-profile-grid input { width: 100%; height: 43px; padding: 0 12px; border: 1px solid #29445d; border-radius: 5px; outline: 0; background: #071727; color: #fff; }
.account-profile-grid input:focus { border-color: var(--account-blue); box-shadow: 0 0 0 3px rgba(23, 111, 255, .12); }
.account-profile-grid input[readonly] { cursor: not-allowed; background: #0c2032; color: #91a3b8; }
.account-profile-grid input.invalid { border-color: #ef5f69; }
.account-profile-grid label > small:not(.account-field-error) { color: #71869a; font-size: 9px; line-height: 1.45; }
.account-profile-checkbox { display: flex; gap: 10px; align-items: center; margin: 0 0 20px; color: #dce7f1; font-size: 12px; }
.account-profile-checkbox input { position: absolute; opacity: 0; pointer-events: none; }
.account-profile-checkbox > span { display: inline-flex; width: 20px; height: 20px; align-items: center; justify-content: center; border: 1px solid #36546e; border-radius: 4px; color: transparent; background: #071727; }
.account-profile-checkbox input:checked + span { border-color: var(--account-blue); background: var(--account-blue); color: #fff; }
.account-profile-billing[hidden] { display: none; }
.account-profile-submit { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 18px; align-items: center; }
.account-profile-submit .account-form-message { flex: 1; text-align: right; }
.account-profile-submit button { display: inline-flex; min-width: 170px; height: 46px; gap: 9px; align-items: center; justify-content: center; border: 0; border-radius: 5px; background: linear-gradient(100deg, #0d55de, #176fff); color: #fff; font-weight: 700; }
.account-profile-submit button:disabled { cursor: wait; opacity: .65; }
.account-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.account-product-card { overflow: hidden; border: 1px solid var(--account-line); border-radius: 7px; background: #071827; }
.account-product-image { position: relative; display: block; height: 150px; overflow: hidden; }
.account-product-image::after { position: absolute; inset: 0; content: ''; background: linear-gradient(transparent 50%, rgba(3, 15, 26, .8)); }
.account-product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.account-product-card:hover .account-product-image img { transform: scale(1.025); }
.account-product-image > span { position: absolute; z-index: 1; top: 10px; left: 10px; padding: 4px 7px; border-radius: 3px; background: #176fff; color: #fff; font-size: 8px; font-weight: 700; text-transform: uppercase; }
.account-product-body { padding: 15px; }
.account-product-body > small { color: #7f92a6; font-size: 9px; }
.account-product-body h3 { min-height: 40px; margin: 7px 0 10px; color: #fff; font-size: 16px; line-height: 1.3; }
.account-product-update { margin: 0 0 11px; padding: 10px; border: 1px solid #176fff; border-radius: 5px; background: rgba(17, 83, 180, .14); }
.account-product-update > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.account-product-update span { color: #68a8ff; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.account-product-update strong { color: #fff; font-size: 12px; }
.account-product-update p { max-height: 34px; margin: 6px 0 9px; overflow: hidden; color: #a9bad0; font-size: 9px; line-height: 1.45; }
.account-product-update > div:last-child { display: flex; gap: 6px; }
.account-product-update form { flex: 1; }
.account-product-update button { width: 100%; min-height: 29px; border: 1px solid #287aff; border-radius: 3px; background: #1262e8; color: #fff; font-size: 9px; }
.account-product-update button.secondary { border-color: #35506a; background: transparent; color: #aebed0; }
.account-product-simulators { min-height: 18px; margin: -2px 0 10px; display: flex; flex-wrap: wrap; gap: 5px; }
.account-product-simulators span { height: 18px; padding: 0 6px; display: inline-flex; align-items: center; border: 1px solid #0872c9; border-radius: 2px; color: #55afff; font-size: 8px; }
.account-product-links { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid #193249; font-size: 10px; }
.account-product-links a { color: #4b97fb; text-decoration: none; }
.account-product-links strong { color: #fff; }
.account-download-list { display: grid; gap: 7px; margin-top: 12px; }
.account-download-list > a { display: flex; gap: 9px; align-items: center; padding: 9px 10px; border: 1px solid #28527b; border-radius: 4px; background: #092038; color: #fff; text-decoration: none; font-size: 10px; }
.account-download-list > a > svg { color: #3b8cff; }
.account-download-list > a span { display: grid; }
.account-download-list > a small { color: #7e98af; font-size: 8px; }
.account-download-list p { margin: 0; padding: 9px; border: 1px dashed #2b455d; border-radius: 4px; color: #899db0; font-size: 10px; }
.account-empty { padding: 70px 30px; border: 1px dashed #2a455d; border-radius: 9px; background: rgba(7, 24, 39, .75); color: var(--account-muted); text-align: center; }
.account-empty > svg { color: #287cff; font-size: 40px; }
.account-empty h2 { margin: 20px 0 8px; color: #fff; }
.account-empty a { display: inline-block; margin-top: 17px; padding: 11px 18px; border-radius: 5px; background: #176fff; color: #fff; text-decoration: none; }

.account-support { margin-bottom: 58px; }
.account-support-empty { display: flex; gap: 18px; align-items: center; padding: 24px; border: 1px dashed var(--account-line); border-radius: 8px; background: rgba(7, 24, 39, .75); }
.account-support-empty > svg { color: var(--account-blue); font-size: 28px; }
.account-support-empty h3 { margin: 0 0 4px; color: #fff; font-size: 16px; }
.account-support-empty p { margin: 0; color: var(--account-muted); font-size: 10px; }
.account-support-empty > a { margin-left: auto; padding: 10px 15px; border-radius: 4px; background: #176fff; color: #fff; text-decoration: none; font-size: 10px; }
.account-ticket-list { display: grid; gap: 10px; }
.account-ticket { overflow: hidden; border: 1px solid var(--account-line); border-radius: 7px; background: #071827; }
.account-ticket-summary { width: 100%; min-height: 76px; padding: 14px 18px; display: grid; grid-template-columns: 180px minmax(0, 1fr) max-content 16px; gap: 18px; align-items: center; border: 0; background: transparent; color: #fff; text-align: left; }
.account-ticket-summary > span { display: grid; gap: 3px; }
.account-ticket-summary > span b { color: #4d97ff; font-size: 11px; }
.account-ticket-summary > span small { color: var(--account-muted); font-size: 8px; }
.account-ticket-summary > strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.account-ticket-summary > em { padding: 5px 9px; border: 1px solid #34516b; border-radius: 999px; color: #a9bbcd; font-size: 8px; font-style: normal; text-transform: uppercase; }
.account-ticket-summary > em.status-new { border-color: #287cff; color: #63a2ff; }
.account-ticket-summary > em.status-in_progress { border-color: #e6a238; color: #f2ba5d; }
.account-ticket-summary > em.status-waiting_customer { border-color: #8e67d9; color: #b69ae9; }
.account-ticket-summary > em.status-resolved { border-color: #2a9a6a; color: #62d49b; }
.account-ticket-summary > svg { color: #7890a7; transition: transform .2s ease; }
.account-ticket-summary[aria-expanded="true"] > svg { transform: rotate(180deg); }
.account-ticket-detail { padding: 0 18px 18px; border-top: 1px solid #183149; }
.account-ticket-detail[hidden] { display: none; }
.account-ticket-product { margin: 14px 0; color: #8ea3b9; font-size: 10px; }
.account-ticket-thread { display: grid; gap: 10px; }
.account-ticket-message { max-width: 82%; padding: 12px 14px; border: 1px solid #26445e; border-radius: 7px; background: #091d30; }
.account-ticket-message.from-customer { margin-left: auto; border-color: #225a9b; background: #0a2948; }
.account-ticket-message header { display: flex; justify-content: space-between; gap: 14px; margin-bottom: 7px; color: #fff; font-size: 9px; }
.account-ticket-message time { color: #71879d; }
.account-ticket-message p { margin: 0; color: #c4d0dc; font-size: 10px; line-height: 1.6; }
.account-ticket-reply { margin-top: 16px; padding-top: 16px; border-top: 1px solid #193249; }
.account-ticket-reply label { display: grid; gap: 7px; color: #cbd8e4; font-size: 10px; }
.account-ticket-reply textarea { width: 100%; padding: 11px 12px; resize: vertical; border: 1px solid #29445d; border-radius: 5px; outline: 0; background: #061625; color: #fff; font: inherit; }
.account-ticket-reply textarea:focus { border-color: var(--account-blue); }
.account-ticket-reply textarea.invalid { border-color: #ef5f69; }
.account-ticket-reply > div { display: flex; justify-content: flex-end; gap: 15px; align-items: center; margin-top: 10px; }
.account-ticket-reply button { min-width: 135px; height: 38px; border: 0; border-radius: 4px; background: #176fff; color: #fff; font-size: 10px; }
.account-ticket-closed { margin: 14px 0 0; color: #8599ad; font-size: 10px; }

.account-settings-page { padding-bottom: 80px; }
.account-settings-header { margin-bottom: 26px; }
.account-settings-nav { position: sticky; z-index: 5; top: 0; margin-bottom: 42px; padding: 8px; display: flex; gap: 6px; border: 1px solid var(--account-line); border-radius: 7px; background: rgba(5, 20, 35, .94); backdrop-filter: blur(12px); }
.account-settings-nav a { padding: 9px 13px; border-radius: 4px; color: #9aadc0; text-decoration: none; font-size: 10px; }
.account-settings-nav a:hover { background: #0c2944; color: #fff; }
.account-settings-section { margin-bottom: 58px; padding-top: 8px; }
.account-settings-section .account-section-heading > p { max-width: 430px; margin: 0; color: var(--account-muted); font-size: 12px; text-align: right; }
.account-settings-form { max-width: 680px; padding: 24px; display: grid; gap: 16px; border: 1px solid var(--account-line); border-radius: 8px; background: rgba(8, 26, 43, .82); }
.account-security-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.account-security-grid .account-settings-form { max-width: none; }
.account-settings-form > header { min-height: 53px; display: flex; gap: 13px; align-items: flex-start; }
.account-settings-form > header > svg { margin-top: 3px; color: var(--account-blue); font-size: 21px; }
.account-settings-form > header h3 { margin: 0 0 4px; color: #fff; font-size: 16px; }
.account-settings-form > header p { margin: 0; color: var(--account-muted); font-size: 10px; line-height: 1.5; }
.account-settings-form > header strong { color: #dce8f3; font-weight: 500; }
.account-settings-form > label { display: grid; gap: 7px; color: #d8e2ec; font-size: 11px; }
.account-settings-form > label input { width: 100%; height: 43px; padding: 0 12px; border: 1px solid #29445d; border-radius: 5px; outline: 0; background: #071727; color: #fff; }
.account-settings-form > label input:focus { border-color: var(--account-blue); box-shadow: 0 0 0 3px rgba(23, 111, 255, .12); }
.account-settings-form > label input.invalid { border-color: #ef5f69; }
.account-settings-form > label small:not(.account-field-error) { color: #71869a; font-size: 9px; }
.account-settings-submit { display: flex; gap: 16px; align-items: center; justify-content: flex-end; }
.account-settings-submit .account-form-message { flex: 1; }
.account-settings-submit button { min-width: 190px; height: 43px; border: 0; border-radius: 5px; background: linear-gradient(100deg, #0d55de, #176fff); color: #fff; font-weight: 700; }
.account-danger-zone { padding: 26px; border: 1px solid rgba(239, 76, 88, .48); border-radius: 9px; background: rgba(82, 16, 25, .12); }
.account-danger-zone .account-section-heading span { color: #ff6570; }
.account-danger-warning { max-width: 820px; margin-bottom: 18px; padding: 16px; display: flex; gap: 14px; border: 1px solid rgba(239, 76, 88, .32); border-radius: 6px; background: rgba(96, 20, 30, .18); }
.account-danger-warning > svg { margin-top: 3px; color: #ff6570; font-size: 21px; }
.account-danger-warning h3 { margin: 0 0 5px; color: #fff; font-size: 14px; }
.account-danger-warning p { margin: 0; color: #bca4a8; font-size: 10px; line-height: 1.6; }
.account-delete-form { border-color: rgba(239, 76, 88, .35); background: rgba(35, 13, 21, .62); }
.account-delete-form .account-settings-submit button { background: #c93240; }
.account-email-pending { padding: 11px 12px; display: flex; gap: 10px; align-items: center; border: 1px solid #75622e; border-radius: 5px; background: rgba(107, 83, 25, .16); color: #e7c873; font-size: 10px; }
.account-email-pending > span { display: grid; gap: 2px; }
.account-email-pending small { color: #9f916e; font-size: 8px; }
.account-email-result-page { min-height: 62vh; padding: 80px 20px; background: radial-gradient(circle at 50% 0, rgba(23, 111, 255, .14), transparent 45%), #03101e; }
.account-email-result { width: min(620px, 100%); margin: 0 auto; padding: 50px; border: 1px solid var(--account-line); border-radius: 10px; background: #071827; text-align: center; }
.account-email-result > svg { margin-bottom: 18px; color: #2ecb84; font-size: 48px; }
.account-email-result.error > svg { color: #ff6570; }
.account-email-result h1 { margin: 10px 0 12px; color: #fff; font-size: 34px; }
.account-email-result p { margin: 0 auto 24px; color: var(--account-muted); line-height: 1.65; }
.account-email-result > a { display: inline-flex; height: 43px; padding: 0 18px; gap: 9px; align-items: center; border-radius: 5px; background: #176fff; color: #fff; text-decoration: none; }

@media (max-width: 900px) {
    .account-auth-shell { grid-template-columns: 1fr; gap: 42px; }
    .account-auth-intro { max-width: 700px; }
    .account-auth-card { width: min(560px, 100%); }
    .account-dashboard-header { align-items: flex-start; flex-direction: column; }
    .account-stats { grid-template-columns: 1fr 1fr; }
    .account-ticket-summary { grid-template-columns: 145px minmax(0, 1fr) max-content 16px; gap: 10px; }
    .account-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .account-profile-form { grid-template-columns: 1fr; }
    .account-profile-submit { grid-column: auto; }
    .account-security-grid { grid-template-columns: 1fr; }
    .account-settings-section .account-section-heading > p { text-align: left; }
}

@media (max-width: 560px) {
    .account-auth-page { padding: 48px 14px 65px; }
    .account-auth-intro h1 { font-size: 42px; }
    .account-auth-intro ul { display: none; }
    .account-form { padding: 30px 22px 34px; }
    .account-form-row { grid-template-columns: 1fr; }
    .account-header-actions { width: 100%; flex-direction: column; }
    .account-header-actions a, .account-header-actions form, .account-header-actions button { width: 100%; justify-content: center; }
    .account-stats { grid-template-columns: 1fr; }
    .account-ticket-summary { grid-template-columns: 1fr max-content 14px; }
    .account-ticket-summary > span { grid-column: 1; }
    .account-ticket-summary > strong { grid-column: 1; grid-row: 2; white-space: normal; }
    .account-ticket-summary > em { grid-column: 2; grid-row: 1 / 3; }
    .account-ticket-summary > svg { grid-column: 3; grid-row: 1 / 3; }
    .account-ticket-message { max-width: 94%; }
    .account-support-empty { align-items: flex-start; flex-wrap: wrap; }
    .account-support-empty > a { width: 100%; margin-left: 0; text-align: center; }
    .account-section-heading { align-items: flex-start; flex-direction: column; }
    .account-profile .account-section-heading > p { text-align: left; }
    .account-profile-grid { grid-template-columns: 1fr; }
    .account-profile-grid label.wide { grid-column: auto; }
    .account-profile-panel { padding: 20px 16px; }
    .account-profile-submit { flex-direction: column; align-items: stretch; }
    .account-profile-submit .account-form-message { text-align: center; }
    .account-settings-nav { overflow-x: auto; }
    .account-settings-nav a { flex: none; }
    .account-settings-submit { align-items: stretch; flex-direction: column; }
    .account-settings-submit button { width: 100%; }
    .account-danger-zone { padding: 18px 14px; }
    .account-product-grid { grid-template-columns: 1fr; }
    .account-product-image { height: 190px; }
}
