.auth-body {
    background: #f7f5fa;
}
.auth-body main {
    width: min(1120px, calc(100% - 64px));
    padding: 40px 0;
}
.auth-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 640px;
    border: 1px solid #e7e0ee;
    border-radius: 22px;
    background: white;
    overflow: hidden;
    box-shadow: 0 14px 60px #36254b05;
}
.auth-story {
    padding: 48px 42px 32px;
    background: #eef2f7;
    display: flex;
    flex-direction: column;
    position: relative;
}
.auth-story .eyebrow {
    font-size: 9px;
    letter-spacing: 1.4px;
    margin-bottom: 24px;
}
.auth-story h2 {
    font-size: 38px;
    line-height: 1.12;
    letter-spacing: -1.6px;
    margin-bottom: 20px;
}
.auth-story h2 > span {
    color: var(--accent);
}
.auth-story > p {
    max-width: 330px;
    font-size: 13px;
    color: #8b799f;
    margin: 0;
}
.auth-art {
    position: relative;
    min-height: 245px;
    margin: 38px 0 24px;
}
.auth-art-card {
    position: absolute;
    border: 1px solid #ffffff80;
    border-radius: 13px;
    box-shadow: 0 16px 30px #68518416;
}
.art-back {
    width: 230px;
    height: 165px;
    right: 4px;
    top: 12px;
    transform: rotate(10deg);
    background: #eef2f7;
    padding: 20px;
    color: #7658a0;
}
.art-back > span {
    display: block;
    font-size: 50px;
    line-height: 1;
}
.art-back strong {
    font-size: 13px;
    max-width: 150px;
    display: block;
    margin-top: 9px;
}
.art-front {
    left: 6px;
    top: 30px;
    width: 270px;
    transform: rotate(-7deg);
    padding: 14px;
    background: #fff;
}
.mini-nav {
    display: flex;
    gap: 3px;
    padding-bottom: 9px;
}
.mini-nav i {
    display: block;
    background: #d7c9eb;
    width: 4px;
    height: 4px;
    border-radius: 50%;
}
.mini-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 18px;
    background: #e9dff6;
    border-radius: 6px;
}
.mini-hero > span {
    font-size: 24px;
    font-weight: 750;
    line-height: 1;
    color: #6e4c9b;
    letter-spacing: -1px;
}
.mini-hero b {
    font-size: 66px;
    line-height: 1;
    color: #bca3df;
}
.mini-products {
    display: flex;
    gap: 8px;
    margin-top: 11px;
}
.mini-products i {
    width: 33.333%;
    height: 45px;
    background: #efebf4;
    border-radius: 4px;
}
.mini-products i:nth-child(2) {
    background: #e0e9e5;
}
.mini-products i:nth-child(3) {
    background: #efe1d9;
}
.art-label {
    position: absolute;
    bottom: -3px;
    right: 5px;
    transform: rotate(-7deg);
    font-size: 8px;
    letter-spacing: 2px;
    color: #ab91c8;
}
.auth-benefits {
    display: grid;
    gap: 9px;
    margin-top: auto;
    font-size: 11px;
    color: #957daa;
}
.auth-form-section {
    padding: 40px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.auth-back {
    font-size: 11px;
    text-decoration: none;
    color: #9c90aa;
    margin-bottom: 32px;
    align-self: flex-start;
}
.auth-form-heading .eyebrow {
    font-size: 9px;
    letter-spacing: 1.4px;
    margin-bottom: 10px;
}
.auth-form-heading h1 {
    font-size: 28px;
    margin-bottom: 12px;
    line-height: 1.2;
}
.auth-form-heading p {
    font-size: 12px;
    color: #968a9e;
    margin: 0 0 28px;
    max-width: 310px;
}
.auth-form {
    display: grid;
    gap: 20px;
}
.auth-form label {
    font-size: 11px;
    color: #63596e;
}
.auth-form input {
    font-size: 12px;
    padding: 13px 14px;
    min-height: 43px;
    border-color: #e7e1ed;
    border-radius: 8px;
    background: #fefefe;
}
.auth-form input::placeholder {
    color: #b4aabf;
}
.password-input {
    position: relative;
    display: block;
}
.password-input input {
    padding-right: 65px;
}
.password-toggle {
    position: absolute;
    right: 6px;
    top: 4px;
    background: transparent;
    color: #9c88b6;
    font-size: 10px;
    padding: 10px 8px;
    border: 0;
    font-weight: 500;
}
.password-toggle:hover {
    background: #f4eefb;
    color: var(--accent);
}
.auth-submit {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
    padding: 13px 17px;
    font-size: 12px;
}
.auth-switch {
    text-align: center;
    font-size: 11px;
    color: #a397ae;
    margin: 24px 0 0;
}
.auth-switch a {
    font-weight: 650;
    text-decoration: none;
    margin-left: 4px;
}
.auth-note {
    border-top: 1px solid #efeaf5;
    margin-top: 28px;
    padding-top: 18px;
    font-size: 10px;
    text-align: center;
    color: #b4a9bf;
    line-height: 1.6;
}
.account-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 14px 0 34px;
}
.account-heading h1 {
    font-size: 32px;
}
.account-heading p {
    font-size: 13px;
    margin: 8px 0 0;
}
.account-heading .actions {
    gap: 10px;
}
.account-heading .button,
.account-heading button {
    font-size: 11px;
}
.account-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 24px;
}
.account-stats .stat span {
    font-size: 12px;
}
.license-generator {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 30px 34px;
    background: #eef2f7;
    border: 1px solid #e2d5f2;
    border-radius: 14px;
    margin-bottom: 40px;
    align-items: center;
}
.license-generator .eyebrow {
    font-size: 9px;
    margin-bottom: 10px;
}
.license-generator h2 {
    font-size: 24px;
}
.license-generator p {
    font-size: 12px;
    color: #9784a8;
    max-width: 350px;
    margin-bottom: 0;
}
.license-generator form {
    display: grid;
    gap: 13px;
}
.license-generator label {
    font-size: 11px;
    color: #8b739e;
}
.license-generator select {
    font-size: 12px;
}
.license-generator button {
    justify-self: start;
    font-size: 11px;
}
.license-generator button span {
    margin-left: 25px;
}
.license-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}
.license-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 24px;
    background: #fff;
    min-width: 0;
}
.license-card > .section-heading {
    margin-bottom: 20px;
}
.license-card .pill {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border: 0;
    background: #f1eafa;
    color: #9c7bbf;
    padding: 4px 8px;
    border-radius: 5px;
}
.license-card h3 {
    margin: 0 0 6px;
    font-size: 18px;
}
.license-card > .meta {
    margin: 0 0 22px;
    font-size: 11px;
    overflow-wrap: anywhere;
}
.license-card label {
    font-size: 10px;
    color: #a498ae;
}
.license-key-row {
    display: flex;
    gap: 8px;
    min-width: 0;
}
.license-key-row input {
    min-width: 0;
    flex: 1;
    font-family: Consolas, monospace;
    font-size: 12px;
    background: #faf8fd;
    border-color: #ebe5f2;
    padding: 11px 10px;
    letter-spacing: 0.1px;
}
.license-key-row button {
    font-size: 11px;
    padding: 9px 12px;
}
.license-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid #f0ecf6;
    padding-top: 16px;
    margin-top: 20px;
}
.license-card-footer .meta {
    font-size: 10px;
    overflow-wrap: anywhere;
}
.text-button {
    border: 0;
    background: transparent;
    padding: 0;
    color: var(--accent);
    font-size: 10px;
    white-space: nowrap;
}
.text-button:hover {
    background: transparent;
    color: #a27fd7;
    text-decoration: underline;
}
.license-grid .empty-state {
    grid-column: 1/-1;
    padding: 40px 20px;
}
.empty-symbol {
    display: block;
    color: #b89edc;
    font-size: 34px;
    margin-bottom: 12px;
}
.license-help {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 22px 25px;
    background: #f1edf7;
    border-radius: 10px;
    color: #88729f;
    margin: 30px 0;
}
.license-help > span {
    font-size: 22px;
    line-height: 1.2;
}
.license-help strong {
    font-size: 12px;
}
.license-help p {
    font-size: 11px;
    max-width: 650px;
    margin: 6px 0 0;
    color: #9f90ae;
}
.copy-feedback {
    font-size: 12px;
    color: var(--accent);
    min-height: 18px;
}
.purchase-history {
    margin: 30px 0 20px;
}
@media (max-width: 1000px) {
    .auth-form-section {
        padding: 32px;
    }
    .auth-story {
        padding: 38px 28px;
    }
    .auth-story h2 {
        font-size: 32px;
    }
    .art-front {
        width: 230px;
    }
    .art-back {
        width: 200px;
        right: 0;
    }
    .auth-layout {
        min-height: 610px;
    }
    .license-generator {
        gap: 24px;
    }
    .license-key-row input {
        font-size: 10px;
    }
    .account-heading h1 {
        font-size: 28px;
    }
}
@media (max-width: 760px) {
    .auth-body main {
        width: calc(100% - 32px);
        padding: 24px 0;
    }
    .auth-layout {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .auth-story {
        padding: 26px;
    }
    .auth-story .eyebrow {
        margin-bottom: 14px;
        font-size: 8px;
    }
    .auth-story h2 {
        font-size: 30px;
        margin-bottom: 14px;
    }
    .auth-story > p {
        max-width: 430px;
        font-size: 12px;
    }
    .auth-art,
    .auth-benefits {
        display: none;
    }
    .auth-form-section {
        padding: 28px;
    }
    .auth-back {
        margin-bottom: 24px;
    }
    .auth-form-heading h1 {
        font-size: 25px;
    }
    .auth-form-heading p {
        max-width: none;
    }
    .auth-form {
        gap: 17px;
    }
    .account-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }
    .account-stats {
        gap: 10px;
    }
    .account-stats .stat {
        padding: 16px 12px;
    }
    .account-stats .stat span {
        font-size: 10px;
    }
    .account-stats .stat strong {
        font-size: 24px;
    }
    .license-generator {
        grid-template-columns: 1fr;
        padding: 24px;
        gap: 24px;
        margin-bottom: 30px;
    }
    .license-generator p {
        max-width: none;
    }
    .license-generator form button {
        width: 100%;
        justify-self: stretch;
        display: flex;
        justify-content: space-between;
    }
    .license-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .license-card {
        padding: 20px;
    }
    .license-key-row input {
        font-size: 11px;
    }
    .license-help {
        padding: 20px;
    }
    .account-heading .actions {
        width: 100%;
    }
    .account-heading .actions > a {
        flex: 1;
        text-align: center;
    }
}
.license-search {
    position: relative;
}
.license-search input {
    font-size: 12px;
    width: 100%;
}
.license-search-results {
    position: absolute;
    z-index: 10;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    max-height: 260px;
    overflow-y: auto;
    margin: 0;
    padding: 5px;
    list-style: none;
    background: #fff;
    border: 1px solid #d6e2df;
    border-radius: 8px;
    box-shadow: 0 8px 24px #163b3020;
    color: #153b36;
}
.license-search-results li {
    padding: 11px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
}
.license-search-results li:hover,
.license-search-results li.is-active,
.license-search-results li[aria-selected="true"] {
    background: #e9f3ef;
}
.license-search-status {
    position: absolute;
    z-index: 11;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    padding: 16px;
    border: 1px solid #d6e2df;
    border-radius: 8px;
    background: #fff;
    color: #526963;
    font-size: 12px;
}
@media (prefers-reduced-motion: reduce) {
    .auth-art-card {
        transform: none;
    }
}
