* {
    box-sizing:border-box
}

html,body {
    margin:0;
    min-height:100%;
    font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    background:#07070b;
    color:#fff
}

.ta-auth-body {
    min-height:100vh;
    background:radial-gradient(circle at 50% 0,rgba(116,44,255,.16),transparent 38%),#07070b
}

.ta-auth-shell {
    width:min(100% - 32px,980px);
    margin:0 auto;
    padding:48px 0
}

.ta-auth-back {
    width:44px;
    height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:15px;
    background:rgba(12,12,18,.72);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    border:1px solid rgba(255,255,255,.14);
    color:#fff;
    text-decoration:none;
    font-size:24px;
    font-weight:900;
    line-height:1;
    box-shadow:0 10px 28px rgba(0,0,0,.34);
    margin:0 0 22px;
}

.ta-auth-back:hover,
.ta-auth-back:focus-visible {
    border-color:rgba(167,92,255,.55);
    background:rgba(28,18,45,.86);
    outline:none;
}

.ta-auth-brand {
    font-size:32px;
    font-weight:900;
    letter-spacing:-2px;
    margin-bottom:28px;
    color:#fff
}

.ta-auth-brand span {
    color:#a75cff
}

.ta-auth-card {
    width:min(100%,470px);
    margin:6vh auto 0;
    background:rgba(255,255,255,.045);
    border:1px solid rgba(255,255,255,.1);
    border-radius:24px;
    padding:30px
}

.ta-kicker {
    color:#b989ff;
    font-size:12px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.12em;
    margin:0 0 8px
}

.ta-auth-card h1,.ta-panel h1 {
    font-size:30px;
    line-height:1.05;
    margin:0 0 10px
}

.ta-sub,.ta-panel p {
    color:#aaa;
    margin:0 0 24px
}

.ta-form {
    display:grid;
    gap:16px
}

.ta-form label {
    display:grid;
    gap:8px;
    font-size:13px;
    font-weight:700;
    color:#ddd
}

.ta-form input:not([type=checkbox]) {
    width:100%;
    min-height:50px;
    border:1px solid rgba(255,255,255,.14);
    border-radius:13px;
    background:#111118;
    color:#fff;
    padding:0 14px;
    font-size:16px;
    outline:none
}

.ta-form input:focus {
    border-color:#a75cff;
    box-shadow:0 0 0 3px rgba(167,92,255,.12)
}

.ta-form button {
    min-height:50px;
    border:0;
    border-radius:13px;
    background:linear-gradient(135deg,#742cff,#a044ff);
    color:#fff;
    font-size:15px;
    font-weight:850;
    cursor:pointer
}

.ta-check {
    display:flex!important;
    grid-template-columns:auto 1fr!important;
    align-items:center;
    gap:9px!important;
    font-weight:500!important
}

.ta-links {
    display:flex;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap
}

.ta-links a,.ta-link-btn {
    color:#c9a7ff;
    text-decoration:none;
    font-size:13px
}

.ta-msg {
    padding:12px 14px;
    border-radius:12px;
    background:rgba(116,44,255,.15);
    border:1px solid rgba(167,92,255,.3);
    margin:14px 0
}

.ta-msg.is-error {
    background:rgba(220,38,38,.12);
    border-color:rgba(248,113,113,.3);
    color:#fecaca
}

.ta-panel {
    background:rgba(255,255,255,.035);
    border:1px solid rgba(255,255,255,.09);
    border-radius:24px;
    padding:28px
}

.ta-panel-head {
    display:flex;
    justify-content:space-between;
    gap:20px;
    align-items:flex-start
}

.ta-link-btn {
    border:1px solid rgba(255,255,255,.13);
    border-radius:12px;
    padding:11px 14px
}

.ta-sync {
    display:flex;
    gap:18px;
    align-items:center;
    padding:16px;
    border-radius:15px;
    background:rgba(116,44,255,.12);
    margin:24px 0
}

.ta-sync strong {
    white-space:nowrap
}

.ta-sync span {
    color:#bbb;
    font-size:13px
}

.ta-panel h2 {
    font-size:17px;
    margin:28px 0 12px
}

.ta-empty {
    padding:20px;
    border:1px dashed rgba(255,255,255,.14);
    border-radius:14px;
    color:#999
}

.ta-access-list {
    display:grid;
    gap:10px
}

.ta-access {
    display:flex;
    justify-content:space-between;
    gap:15px;
    align-items:center;
    padding:16px;
    border-radius:14px;
    background:#111118;
    border:1px solid rgba(255,255,255,.08);
    color:#fff;
    text-decoration:none
}

.ta-access span {
    color:#b989ff;
    font-size:13px
}

@media(max-width:600px) {
    .ta-auth-shell {
        padding:28px 0
    }

    .ta-auth-card,.ta-panel {
        padding:22px;
        border-radius:20px
    }

    .ta-panel-head,.ta-sync {
        align-items:flex-start;
        flex-direction:column
    }

    .ta-links {
        flex-direction:column
    }
}
