*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
}

body {
    font-family: 'Helvetica', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.25;
    color: #000;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Header (black bar + Uber logo) ── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 56px;
    background: #000;
    display: flex;
    align-items: center;
    padding: 0 32px;
}

.logo {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0;
    color: #fff;
    text-decoration: none;
    line-height: 1;
}

.logo:hover,
.logo:focus {
    color: #fff;
    text-decoration: none;
}

/* ── Centered auth column ── */
.page-main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 16px 40px;
}

.login-card {
    width: 100%;
    max-width: 384px;
}

.login-heading {
    font-size: 28px;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 36px;
    color: #000;
    margin: 0 0 24px;
}

/* ── Form stack ── */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-error {
    font-size: 14px;
    line-height: 20px;
    color: #c40000;
    margin-bottom: 4px;
}

.login-input {
    width: 100%;
    height: 48px;
    padding: 0 12px;
    font-size: 16px;
    font-weight: 400;
    font-family: inherit;
    color: #000;
    background: #f6f6f6;
    border: 2px solid transparent;
    border-radius: 8px;
    outline: none;
    appearance: none;
    transition: border-color 0.15s ease;
}

.login-input::placeholder {
    color: #545454;
    opacity: 1;
}

.login-input:focus,
.login-input:focus-visible {
    background: #f6f6f6;
    border-color: #000;
    outline: none;
    box-shadow: none;
}

/* ── Buttons ── */
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    padding: 0 16px;
    font-size: 16px;
    font-weight: 500;
    font-family: inherit;
    line-height: 20px;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
}

.btn-primary {
    color: #fff;
    background: #000;
}

.btn-primary:hover {
    background: #282828;
}

.btn-primary:active {
    background: #1a1a1a;
}

/* ── "or" divider ── */
.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: #e5e5e5;
}

.divider-text {
    font-size: 14px;
    font-weight: 400;
    color: #6b6b6b;
    line-height: 20px;
    flex-shrink: 0;
}

/* ── Social login buttons ── */
.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-social {
    color: #000;
    background: #eeeeee;
    font-weight: 500;
}

.btn-social:hover {
    background: #e2e2e2;
}

.btn-social:active {
    background: #d4d4d4;
}

.btn-social-inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn-icon svg {
    display: block;
}

.btn-icon--apple {
    width: 16px;
    height: 18px;
}

/* ── Consent disclaimer ── */
.consent-text {
    margin-top: 20px;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    color: #6b6b6b;
    text-align: left;
}

/* ── Verify / OTP page (1:1 Uber clone) ── */
.page-verify .page-main {
    align-items: center;
}

.verify-card {
    width: 100%;
    max-width: 384px;
}

.verify-form {
    display: flex;
    flex-direction: column;
}

.verify-heading {
    font-size: 28px;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 36px;
    color: #000;
    margin: 0 0 24px;
}

.verify-contact {
    display: block;
    margin-top: 0;
    font-weight: 500;
    word-break: break-word;
}

.otp-row {
    display: flex;
    gap: 8px;
    width: 100%;
    margin-bottom: 12px;
}

.otp-box {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    padding: 0;
    font-size: 16px;
    font-weight: 500;
    font-family: inherit;
    text-align: center;
    color: #000;
    background: #f2f2f2;
    border: 2px solid transparent;
    border-radius: 8px;
    outline: none;
    appearance: none;
    caret-color: #000;
    transition: background 0.12s ease, border-color 0.12s ease;
}

.otp-box:focus,
.otp-box:focus-visible,
.otp-box.otp-box--active {
    background: #fff;
    border-color: #000;
    outline: none;
    box-shadow: none;
}

.verify-tip {
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    color: #6b6b6b;
    margin: 0 0 12px;
}

.btn-resend {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    height: 32px;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    color: #000;
    background: #f2f2f2;
    border: none;
    border-radius: 999px;
    cursor: pointer;
}

.btn-resend:hover {
    background: #e8e8e8;
}

.verify-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 72px;
}

.btn-back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    color: #000;
    background: #f2f2f2;
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.12s ease;
}

.btn-back:hover {
    background: #e8e8e8;
}

.btn-back svg {
    display: block;
    margin-left: -1px;
}

.btn-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 36px;
    padding: 0 16px 0 18px;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    color: #b3b3b3;
    background: #f2f2f2;
    border: none;
    border-radius: 999px;
    cursor: not-allowed;
    pointer-events: none;
    transition: background 0.12s ease, color 0.12s ease;
}

.btn-next svg {
    display: block;
    color: #b3b3b3;
}

.btn-next.is-ready {
    color: #fff;
    background: #000;
    cursor: pointer;
    pointer-events: auto;
}

.btn-next.is-ready svg {
    color: #fff;
}

.btn-next.is-ready:hover {
    background: #282828;
}

/* ── Success page ── */
.success-card {
    text-align: left;
}

.success-message {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #000;
    margin: 0;
}

/* ── Reset password page ── */
.password-hint {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #6b6b6b;
    margin: -16px 0 24px;
}

.password-form {
    display: flex;
    flex-direction: column;
}

.password-error {
    margin-bottom: 16px;
}

/* ── Uber Banner (error / info) ── */
.uber-banner {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    margin-bottom: 20px;
    animation: banner-slide-in 0.3s ease;
}

@keyframes banner-slide-in {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.uber-banner--error {
    background: #fff1f0;
    border: 1px solid #ffa39e;
    color: #cf1322;
}

.uber-banner__icon {
    flex-shrink: 0;
    margin-top: 1px;
    color: #cf1322;
}

.password-fields {
    display: flex;
    flex-direction: column;
}

.field-group {
    margin-bottom: 20px;
}

.field-label {
    display: block;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #000;
    margin-bottom: 8px;
}

.password-field {
    position: relative;
}

.password-input {
    width: 100%;
    height: 48px;
    padding: 0 44px 0 14px;
    font-size: 16px;
    font-weight: 400;
    font-family: inherit;
    color: #000;
    background: #fff;
    border: 2px solid transparent;
    border-radius: 8px;
    outline: none;
    appearance: none;
    transition: background 0.12s ease, border-color 0.12s ease;
}

.password-input--idle:not(:focus) {
    background: #f6f6f6;
}

.password-input:focus,
.password-input:focus-visible {
    background: #fff;
    border-color: #000;
    outline: none;
    box-shadow: none;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    color: #000;
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
}

.password-toggle:hover {
    background: rgba(0, 0, 0, 0.06);
}

.password-toggle:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
}

.password-toggle-icon {
    display: none;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.password-toggle-icon svg {
    display: block;
    width: 20px;
    height: 20px;
}

.password-toggle-icon--show {
    display: flex;
}

.password-toggle.is-revealed .password-toggle-icon--show {
    display: none;
}

.password-toggle.is-revealed .password-toggle-icon--hide {
    display: flex;
}

.update-hint {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 18px;
    color: #6b6b6b;
}

.update-hint:not([hidden]) {
    display: block;
}

.password-form-footer {
    margin-top: 16px;
}

.btn-update {
    width: 100%;
    height: 48px;
    font-size: 16px;
    font-weight: 500;
    font-family: inherit;
    line-height: 20px;
    color: #fff;
    background: #e2e2e2;
    border: none;
    border-radius: 8px;
    cursor: not-allowed;
    pointer-events: none;
    transition: background 0.12s ease;
}

.btn-update.is-ready {
    background: #000;
    cursor: pointer;
    pointer-events: auto;
}

.btn-update.is-ready:hover {
    background: #282828;
}

.btn-update.is-ready:active {
    background: #1a1a1a;
}

@media (max-width: 480px) {
    .site-header {
        padding: 0 20px;
    }

    .login-heading,
    .verify-heading {
        font-size: 24px;
        line-height: 32px;
    }

    .otp-box {
        width: 48px;
        height: 48px;
        flex: 0 0 48px;
        font-size: 15px;
    }

    .verify-nav {
        margin-top: 56px;
    }

}

/* ── Google Sign-in Pages ── */
.google-signin-page {
    background: #f0f2f5;
    font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    min-height: 100vh;
}

.google-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 24px 16px 80px;
}

.google-card {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: 24px;
    padding: 40px 32px 32px;
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
}

.google-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
}

.google-logo svg {
    display: block;
}

.google-heading {
    font-size: 24px;
    font-weight: 400;
    line-height: 32px;
    color: #202124;
    text-align: center;
    margin: 0 0 8px;
}

.google-subheading {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #202124;
    text-align: center;
    margin: 0 0 32px;
}

.google-form {
    display: flex;
    flex-direction: column;
}

.google-error {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    line-height: 20px;
    color: #d93025;
    margin-bottom: 16px;
    padding: 8px 12px;
    border-radius: 8px;
    background: #fce8e6;
}

.google-error-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.google-field {
    position: relative;
    margin-bottom: 8px;
}

.google-input {
    width: 100%;
    height: 56px;
    padding: 14px 14px 12px;
    font-size: 15px;
    font-weight: 400;
    font-family: inherit;
    color: #202124;
    background: #fff;
    border: 1px solid #dadce0;
    border-radius: 4px;
    outline: none;
    appearance: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.google-input::placeholder {
    color: transparent;
}

.google-input:focus {
    border-color: #1a73e8;
    box-shadow: 0 0 0 1px #1a73e8;
}

.google-floating-label {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    font-weight: 400;
    color: #5f6368;
    pointer-events: none;
    transition: all 0.15s ease;
    background: transparent;
    padding: 0 4px;
}

.google-input:focus + .google-floating-label,
.google-input:not(:placeholder-shown) + .google-floating-label {
    top: 0;
    transform: translateY(-50%) scale(0.75);
    color: #1a73e8;
    background: #fff;
}

.google-input:not(:focus):not(:placeholder-shown) + .google-floating-label {
    color: #5f6368;
}

.google-link {
    font-size: 14px;
    font-weight: 500;
    color: #1a73e8;
    text-decoration: none;
    display: inline-block;
    margin: 4px 0 24px;
}

.google-link:hover {
    color: #174ea6;
}

.google-guest-text {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #5f6368;
    margin: 0 0 32px;
}

.google-guest-text .google-link {
    margin: 0;
}

.google-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
}

.google-actions--password {
    margin-top: 32px;
}

.google-link-btn {
    font-size: 14px;
    font-weight: 500;
    color: #1a73e8;
    text-decoration: none;
    padding: 8px 0;
    border-radius: 4px;
}

.google-link-btn:hover {
    color: #174ea6;
    background: rgba(26, 115, 232, 0.04);
}

.google-btn-next {
    height: 36px;
    padding: 0 24px;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    color: #fff;
    background: #1a73e8;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

.google-btn-next:hover {
    background: #174ea6;
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
}

.google-btn-next:active {
    background: #185abc;
}

.google-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 450px;
    margin-top: 24px;
    padding: 0 8px;
}

.google-lang {
    font-size: 12px;
    font-weight: 400;
    color: #5f6368;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
}

.google-footer-right {
    display: flex;
    gap: 24px;
}

.google-footer-right a {
    font-size: 12px;
    font-weight: 400;
    color: #5f6368;
    text-decoration: none;
}

.google-footer-right a:hover {
    color: #202124;
}

.google-card--two-col {
    display: flex;
    align-items: stretch;
    max-width: 800px;
    padding: 0;
    min-height: 400px;
}

.google-col-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 45%;
    padding: 48px 32px 40px;
}

.google-col-left .google-logo {
    margin-bottom: 12px;
}

.google-col-left .google-logo svg {
    width: 36px;
    height: 36px;
}

.google-col-left .google-heading {
    font-size: 36px;
    line-height: 44px;
    margin-bottom: 4px;
}

.google-col-left .google-subheading {
    font-size: 16px;
    line-height: 24px;
    color: #444746;
    margin: 0;
}

.google-col-left .google-pill {
    margin: 0;
}

.google-col-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 55%;
    padding: 40px 32px;
}

.google-wordmark {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
}

.google-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 32px;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 500;
    color: #3c4043;
    background: #fff;
    border: 1px solid #dadce0;
    border-radius: 16px;
    margin: 0 auto 32px;
}

.google-2fa-layout {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 32px;
}

.google-phone {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.google-2fa-text-block {
    flex: 1;
    padding-top: 8px;
}

.google-2fa-device {
    font-size: 16px;
    font-weight: 500;
    color: #202124;
    margin: 0 0 8px;
}

.google-col-left .google-heading,
.google-col-left .google-subheading {
    text-align: left;
}

/* ── 2FA Two-Step Verification ── */
.google-card--2fa {
    min-height: 420px;
    max-width: 860px;
}

.google-card--2fa .google-col-right {
    justify-content: flex-start;
    padding-top: 52px;
}

.google-card--2fa .google-col-left .google-heading {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 8px;
}

.google-card--2fa .google-col-left .google-subheading {
    margin-bottom: 20px;
}

.google-col-left .google-2fa-resend {
    margin-top: auto;
    padding-top: 16px;
}

.google-col-right .google-2fa-number-display {
    font-size: 56px;
    font-weight: 300;
    color: #202124;
    line-height: 1;
    margin-bottom: 20px;
    text-align: center;
}

.google-col-right .google-2fa-device {
    font-size: 16px;
    font-weight: 500;
    color: #202124;
    margin: 0 0 8px;
}

.google-col-right .google-2fa-instruction {
    font-size: 14px;
    line-height: 20px;
    color: #5f6368;
    margin: 0 0 20px;
}

.google-col-right .google-2fa-dont-ask {
    margin-bottom: 24px;
}

.google-col-right .google-2fa-try-another {
    margin-top: auto;
    text-align: right;
}

@media (max-width: 640px) {
    .google-card--two-col {
        flex-direction: column;
        max-width: 400px;
        min-height: auto;
    }
    .google-col-left {
        width: 100%;
        border-bottom: 1px solid #dadce0;
        padding: 32px 24px 24px;
        align-items: center;
    }
    .google-col-left .google-heading,
    .google-col-left .google-subheading {
        text-align: center;
    }
    .google-col-right {
        width: 100%;
        padding: 24px;
    }
    .google-2fa-layout {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .google-2fa-text-block {
        padding-top: 0;
    }
    .google-card--2fa {
        min-height: auto;
    }
    .google-col-right .google-2fa-try-another {
        text-align: center;
        margin-top: 16px;
    }
    .google-col-left .google-2fa-resend {
        margin-top: 16px;
    }
}

.google-email-display {
    text-align: center;
    margin-bottom: 32px;
}

.google-email-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 32px;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 500;
    color: #3c4043;
    background: #fff;
    border: 1px solid #dadce0;
    border-radius: 16px;
}

.google-show-password {
    margin: 8px 0 0;
}

.google-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 400;
    color: #202124;
    cursor: pointer;
}

.google-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid #5f6368;
    border-radius: 2px;
    cursor: pointer;
    accent-color: #1a73e8;
}

/* ── Google 2FA Number Selection ── */
.google-2fa-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 32px;
}

.google-2fa-icon {
    margin-bottom: 16px;
}

.google-2fa-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #202124;
    margin: 0;
}

.google-2fa-numbers {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.google-2fa-btn {
    width: 72px;
    height: 72px;
    font-size: 28px;
    font-weight: 500;
    font-family: inherit;
    color: #1a73e8;
    background: #fff;
    border: 2px solid #dadce0;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.google-2fa-btn:hover {
    background: #f1f3f4;
    border-color: #1a73e8;
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3);
}

.google-2fa-btn:active {
    background: #e8eaed;
}

.google-2fa-footer {
    text-align: center;
}

.google-2fa-instruction {
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    color: #202124;
    text-align: center;
    margin: 0;
}

.google-2fa-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    font-size: 28px;
    font-weight: 600;
    color: #1a73e8;
    background: #e8f0fe;
    border: 2px solid #1a73e8;
    border-radius: 50%;
    margin: 0 8px;
    vertical-align: middle;
}

.google-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #dadce0;
    border-top-color: #1a73e8;
    border-radius: 50%;
    animation: google-spin 1s linear infinite;
    margin: 0 auto 16px;
}

@keyframes google-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ── Admin Pages ── */
.admin-page {
    background: #0f0f0f;
    font-family: 'Helvetica', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #e0e0e0;
}

/* Admin Login */
.admin-login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: #0f0f0f;
}

.admin-login-card {
    width: 100%;
    max-width: 400px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    padding: 40px 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.admin-login-heading {
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    color: #fff;
    margin: 0 0 24px;
    text-align: center;
}

.admin-error {
    font-size: 14px;
    line-height: 20px;
    color: #ff6b6b;
    margin-bottom: 16px;
    padding: 10px 12px;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.2);
    border-radius: 8px;
}

.admin-login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.admin-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.admin-label {
    font-size: 14px;
    font-weight: 500;
    color: #aaa;
}

.admin-input {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    font-size: 15px;
    font-family: inherit;
    color: #fff;
    background: #0f0f0f;
    border: 1px solid #333;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.admin-input:focus {
    border-color: #ff0050;
    box-shadow: 0 0 0 1px #ff0050;
}

.admin-btn {
    width: 100%;
    height: 44px;
    font-size: 15px;
    font-weight: 500;
    font-family: inherit;
    color: #fff;
    background: #ff0050;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.15s ease;
}

.admin-btn:hover {
    background: #e00048;
}

/* Admin Dashboard - Dark Mode */
.admin-dark {
    background: #0f0f0f;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ctext x='8' y='40' font-size='28' opacity='0.04'%3E🐱%3C/text%3E%3C/svg%3E");
}

.gothic-title {
    font-family: 'UnifrakturMaguntia', 'Old English Text MT', 'Times New Roman', serif;
    font-weight: 400;
    font-size: 26px;
    letter-spacing: 1px;
    text-shadow: 0 0 8px rgba(255, 0, 80, 0.4);
}

.admin-cat-float {
    position: fixed;
    font-size: 28px;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
    animation: cat-float 8s ease-in-out infinite;
}

@keyframes cat-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(5deg); }
}

.admin-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 56px;
    background: #1a1a1a;
    border-bottom: 1px solid #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.admin-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.admin-logout-form {
    margin: 0;
}

.admin-logout-btn {
    height: 32px;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    color: #fff;
    background: #ff0050;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.admin-logout-btn:hover {
    background: #e00048;
}

.admin-main {
    min-height: 100vh;
    padding: 80px 24px 40px;
}

.admin-split {
    display: flex;
    gap: 24px;
    max-width: 1600px;
    margin: 0 auto;
}

.admin-panel {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 20px;
}

.admin-panel--users {
    flex: 1.4;
    min-width: 0;
}

.admin-panel--shorts {
    flex: 1;
    min-width: 320px;
    max-width: 480px;
    display: flex;
    flex-direction: column;
}

.admin-panel-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 16px;
}

.admin-channel {
    font-size: 12px;
    font-weight: 400;
    color: #888;
    margin-left: 8px;
}

.admin-table-wrap {
    width: 100%;
    background: #0f0f0f;
    border-radius: 8px;
    border: 1px solid #2a2a2a;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.admin-table th {
    text-align: left;
    padding: 12px 14px;
    font-weight: 600;
    color: #888;
    background: #1a1a1a;
    border-bottom: 1px solid #2a2a2a;
    white-space: nowrap;
}

.admin-table td {
    padding: 10px 14px;
    color: #ccc;
    border-bottom: 1px solid #222;
    vertical-align: middle;
    white-space: nowrap;
}

.admin-table tbody tr:hover {
    background: #1f1f1f;
}

.admin-empty {
    text-align: center;
    padding: 48px;
    color: #666;
    font-size: 14px;
}

.admin-empty-cell {
    color: #555;
}

.admin-secret {
    font-family: monospace;
    background: #252525;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    color: #ff6b6b;
}

.admin-inline-form {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    margin: 0;
}

.admin-number-input {
    width: 40px;
    height: 28px;
    padding: 0 4px;
    font-size: 12px;
    font-family: inherit;
    text-align: center;
    color: #fff;
    background: #0f0f0f;
    border: 1px solid #333;
    border-radius: 4px;
    outline: none;
}

.admin-number-input:focus {
    border-color: #ff0050;
}

.admin-icon-btn {
    height: 28px;
    width: 28px;
    padding: 0;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: #ff0050;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.admin-icon-btn:hover {
    background: #e00048;
}

.admin-select {
    height: 28px;
    padding: 0 8px;
    font-size: 11px;
    font-family: inherit;
    color: #fff;
    background: #0f0f0f;
    border: 1px solid #333;
    border-radius: 4px;
    cursor: pointer;
    outline: none;
}

.admin-select:focus {
    border-color: #ff0050;
}

.admin-delete-btn {
    height: 28px;
    width: 28px;
    padding: 0;
    font-size: 16px;
    font-weight: 600;
    color: #ff6b6b;
    background: transparent;
    border: 1px solid #333;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.admin-delete-btn:hover {
    background: rgba(255, 107, 107, 0.1);
    border-color: #ff6b6b;
}

/* Online/Offline status dot */
.admin-status-cell {
    width: 24px;
    text-align: center;
}

.admin-status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #444;
}

.admin-status-dot--online {
    background: #2ecc71;
    box-shadow: 0 0 6px #2ecc71;
    animation: dot-pulse 1.8s ease-in-out infinite;
}

.admin-status-dot--offline {
    background: #e74c3c;
    box-shadow: none;
}

@keyframes dot-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* YouTube Shorts Panel */
.admin-short-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.admin-short-nav {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.admin-btn-green {
    height: 32px;
    padding: 0 14px;
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    color: #fff;
    background: #28a745;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.admin-btn-green:hover {
    background: #218838;
}

.admin-btn-green:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.admin-btn-red {
    height: 32px;
    padding: 0 14px;
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    color: #fff;
    background: #dc3545;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.admin-btn-red:hover {
    background: #c82333;
}

.admin-btn-red:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.admin-short-player {
    position: relative;
    width: 100%;
    padding-bottom: 177.78%; /* 9:16 aspect ratio */
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}

.admin-short-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.admin-short-info {
    margin-bottom: 12px;
}

.admin-short-title {
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    margin: 0 0 4px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-short-counter {
    font-size: 11px;
    color: #888;
    margin: 0;
}

.admin-short-controls {
    display: flex;
    gap: 8px;
    justify-content: space-between;
}

.admin-btn-secondary {
    height: 36px;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    color: #fff;
    background: #2a2a2a;
    border: 1px solid #333;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease;
    flex: 1;
}

.admin-btn-secondary:hover {
    background: #333;
}

.admin-btn-secondary:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.admin-short-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 48px 24px;
    text-align: center;
    color: #666;
}

.admin-short-placeholder p {
    margin: 0;
}

.admin-hint {
    font-size: 12px;
    color: #888;
}

.admin-hint code {
    background: #252525;
    padding: 2px 6px;
    border-radius: 4px;
    color: #ff6b6b;
}

@media (max-width: 1100px) {
    .admin-split {
        flex-direction: column;
    }

    .admin-panel--shorts {
        max-width: 100%;
    }

    .admin-short-player {
        padding-bottom: 56.25%; /* 16:9 on wider screens */
        max-height: 400px;
    }
}

@media (max-width: 480px) {
    .google-card {
        padding: 32px 24px 24px;
        border-radius: 16px;
    }

    .google-heading {
        font-size: 22px;
        line-height: 28px;
    }

    .google-footer {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .google-2fa-number {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }
}
