/* Register page — minimal styling, no sidebar */
html, .auth-body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(160deg, #0f172a 0%, #1e3a5f 55%, #2563eb 120%) !important;
    font-family: 'Inter', system-ui, sans-serif;
}

.auth-body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-main {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 420px;
}

.auth-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 34px 30px;
    width: 100%;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    color: #1e293b;
}

.auth-logo {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.auth-card h1 {
    font-size: 22px;
    font-weight: 800;
    text-align: center;
    color: #1e293b;
    margin: 0;
}

.auth-sub {
    text-align: center;
    color: #64748b;
    font-size: 14px;
    margin: 6px 0 8px;
}

.trial-badge {
    width: fit-content;
    margin: 8px auto 16px;
    background: rgba(245, 158, 11, 0.12);
    color: #b45309;
    border: 1px solid rgba(245, 158, 11, 0.4);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 7px;
}

.auth-toast {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: min(420px, calc(100vw - 32px));
    padding: 12px 14px 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18), 0 2px 6px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: auth-toast-in 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}
.auth-toast > span {
    flex: 1 1 auto;
    min-width: 0;
}
.auth-toast > i:first-child {
    flex-shrink: 0;
    width: 18px;
    text-align: center;
    font-size: 16px;
}
.auth-toast-close {
    flex-shrink: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px 6px;
    margin: -4px -6px -4px 0;
    border-radius: 6px;
    color: inherit;
    opacity: 0.55;
    transition: opacity 0.15s, background 0.15s;
    line-height: 1;
}
.auth-toast-close:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.06);
}
.auth-toast-leaving {
    animation: auth-toast-out 0.25s ease-in forwards;
}
@keyframes auth-toast-in {
    from { opacity: 0; transform: translate(-50%, -12px) scale(0.96); }
    to   { opacity: 1; transform: translate(-50%, 0) scale(1); }
}
@keyframes auth-toast-out {
    from { opacity: 1; transform: translate(-50%, 0) scale(1); }
    to   { opacity: 0; transform: translate(-50%, -8px) scale(0.97); }
}

/* Variants */
.auth-toast-err {
    background: linear-gradient(135deg, rgba(254, 226, 226, 0.96) 0%, rgba(252, 165, 165, 0.96) 100%);
    color: #7f1d1d;
    border: 1px solid rgba(239, 68, 68, 0.35);
}
.auth-toast-err > i:first-child { color: #dc2626; }

.auth-toast-ok {
    background: linear-gradient(135deg, rgba(209, 250, 229, 0.96) 0%, rgba(167, 243, 208, 0.96) 100%);
    color: #064e3b;
    border: 1px solid rgba(16, 185, 129, 0.35);
}
.auth-toast-ok > i:first-child { color: #10b981; }

.auth-toast-info {
    background: linear-gradient(135deg, rgba(219, 234, 254, 0.96) 0%, rgba(191, 219, 254, 0.96) 100%);
    color: #1e3a8a;
    border: 1px solid rgba(37, 99, 235, 0.35);
}
.auth-toast-info > i:first-child { color: #2563eb; }

@media (max-width: 480px) {
    .auth-toast {
        top: 12px;
        max-width: calc(100vw - 24px);
        font-size: 12.5px;
    }
}

.auth-card label {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    display: block;
    margin: 12px 0 5px;
}

.auth-field {
    position: relative;
}

.auth-field i {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 15px;
}

.auth-field input {
    width: 100%;
    padding: 12px 14px 12px 38px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    background: #ffffff;
    color: #1e293b;
}

.auth-field input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.auth-btn {
    width: 100%;
    margin-top: 20px;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.auth-btn:hover {
    filter: brightness(1.06);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0 4px;
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    margin-top: 4px;
    background: #ffffff;
    color: #1f2937;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    transition: all 0.15s;
}

.btn-google:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.btn-google svg {
    flex-shrink: 0;
}

.auth-foot {
    text-align: center;
    margin-top: 18px;
    font-size: 13px;
    color: #64748b;
}

.auth-foot a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.auth-recap {
    font-size: 12px;
    color: #64748b;
    text-align: center;
    margin-top: 14px;
}

.cf-turnstile {
    margin: 16px auto 4px;
    display: flex;
    justify-content: center;
}

@media (max-width: 480px) {
    .auth-body {
        padding: 16px;
    }
    .auth-card {
        padding: 28px 22px;
    }
}
