:root {
    --bg-color: #0f0f13;
    --text-color: #ffffff;
    --card-bg: rgba(28, 28, 35, 0.85);
    --card-border: rgba(255, 255, 255, 0.08);
    --primary: #2a81f3;
    --secondary: #2c2c36;
    --danger: #ff3b30;
    --success: #34c759;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
    overflow: hidden;
    height: 100vh;
    height: 100dvh;
}

body.tg-theme {
    --bg-color: var(--tg-theme-bg-color, #0f0f13);
    --text-color: var(--tg-theme-text-color, #ffffff);
    --primary: var(--tg-theme-button-color, #2a81f3);
}

::-webkit-scrollbar {
    display: none;
}

/* --- Screens --- */
.screen {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    height: 100vh;
    height: 100dvh;
    padding: 16px;
    padding-top: calc(16px + var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
    padding-bottom: calc(16px + var(--tg-safe-area-inset-bottom, 0px) + var(--tg-content-safe-area-inset-bottom, 0px));
    opacity: 0;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.screen.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 10;
}

.content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hidden {
    display: none !important;
}

/* --- Typography --- */
h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}

.subtitle {
    color: #8e8e93;
    font-size: 14px;
    margin-bottom: 16px;
}

h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    width: 100%;
}

.btn:active {
    opacity: 0.8;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn.primary {
    background: var(--primary);
}

.btn.secondary {
    background: var(--secondary);
    color: var(--text-color);
}

.btn.outline {
    background: transparent;
    border: 1.5px solid var(--card-border);
    color: var(--text-color);
}

.btn.text {
    background: transparent;
    color: #8e8e93;
    font-weight: 500;
    font-size: 14px;
}

.btn.connect-btn {
    background: linear-gradient(135deg, #FF9500, #FF5E3A);
    font-size: 16px;
}

.btn.sm {
    padding: 10px 14px;
    font-size: 13px;
    border-radius: 10px;
}

.w-100 {
    width: 100%;
}

.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

/* --- Device Grid --- */
.devices-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

.device-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 16px 12px;
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.device-emoji {
    font-size: 36px;
    line-height: 1;
}

.device-card span:last-child {
    font-weight: 500;
    font-size: 14px;
    color: #8e8e93;
}

.device-card.selected {
    background: rgba(42, 129, 243, 0.15);
    border-color: var(--primary);
}

.device-card.selected .device-emoji,
.device-card.selected span:last-child {
    color: var(--primary);
}

.device-card-wide {
    grid-column: 1 / -1;
}

.auto-detect-msg {
    text-align: center;
    font-size: 13px;
    color: var(--success);
    background: rgba(52, 199, 89, 0.1);
    padding: 8px 14px;
    border-radius: 10px;
    margin-bottom: 16px;
}

/* --- Step 2 & 3 --- */
.download-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 14px;
    text-align: center;
    margin: 8px 0 14px;
}

.download-box .app-icon-img {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 6px;
}

.download-box p {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.download-box .download-cloud-icon {
    font-size: 24px;
    display: block;
    margin-bottom: 8px;
}

/* Big prominent download button */
.btn.download-btn-big {
    background: linear-gradient(135deg, #34c759, #30d158, #28cd50);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    padding: 18px 24px;
    border-radius: 16px;
    border: none;
    width: 100%;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 20px rgba(52, 199, 89, 0.4), 0 0 0 0 rgba(52, 199, 89, 0.5);
    animation: downloadPulse 2s ease-in-out infinite;
    text-transform: none;
}

.btn.download-btn-big:active {
    transform: scale(0.97);
    opacity: 0.9;
}

@keyframes downloadPulse {
    0% { box-shadow: 0 4px 20px rgba(52, 199, 89, 0.4), 0 0 0 0 rgba(52, 199, 89, 0.4); }
    50% { box-shadow: 0 6px 28px rgba(52, 199, 89, 0.5), 0 0 0 8px rgba(52, 199, 89, 0); }
    100% { box-shadow: 0 4px 20px rgba(52, 199, 89, 0.4), 0 0 0 0 rgba(52, 199, 89, 0.4); }
}

.nav-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
    max-width: 100%;
    overflow: hidden;
}

.nav-buttons .btn.text {
    flex: 0 0 auto;
    width: auto;
}

.nav-buttons .btn.primary {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Radio Group */
.radio-group {
    display: flex;
    gap: 10px;
    margin: 10px 0;
}

.radio-group label {
    flex: 1;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    font-weight: 500;
}

.radio-group input {
    display: none;
}

.radio-group label:has(input:checked) {
    border-color: var(--primary);
    background: rgba(42, 129, 243, 0.1);
}

.small-hint {
    font-size: 12px;
    color: #8e8e93;
    margin-bottom: 6px;
}

/* Instruction Box */
.instruction-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 14px;
}

.instruction-box ol {
    margin-left: 18px;
    font-size: 13px;
    color: #e5e5ea;
}

.instruction-box li {
    margin-bottom: 6px;
}

.warning-text {
    margin-top: 10px;
    font-size: 12px;
    color: #ff9f0a;
    font-weight: 500;
    line-height: 1.3;
}

.config-actions {
    margin: 12px 0;
}

.or-divider {
    text-align: center;
    color: #8e8e93;
    font-size: 13px;
    margin: 10px 0;
}

/* --- Alert Return TG --- */
.alert-return-tg {
    background: rgba(255, 59, 48, 0.12);
    border: 1.5px solid rgba(255, 59, 48, 0.5);
    border-radius: 12px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

.alert-content {
    display: flex;
    flex-direction: column;
}

.alert-title {
    font-weight: 800;
    font-size: 14px;
    color: #ff3b30;
    margin-bottom: 2px;
}

.alert-text {
    font-size: 13px;
    color: #fff;
    line-height: 1.3;
}

.alert-text b {
    color: #ff9500;
    font-weight: 700;
}

/* --- Cabinet Screen --- */
.header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    background: var(--card-bg);
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid var(--card-border);
}

.user-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.user-info h3 {
    margin-bottom: 0;
}

.status-badge {
    background: rgba(52, 199, 89, 0.15);
    color: var(--success);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.main-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 8px;
}

.tariffs-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.tariff-card {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.tariff-info {
    margin-bottom: 10px;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 10px;
}

.t-main {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 18px;
    font-weight: 700;
    color: #FF9500;
    margin-bottom: 10px;
}

.t-details p {
    font-size: 13px;
    color: #e5e5ea;
    margin-bottom: 3px;
    display: flex;
    justify-content: space-between;
}

/* Device Item */
.device-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dev-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dev-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(42, 129, 243, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.dev-details {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.dev-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.dev-name-row strong {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #8e8e93;
}

.status-dot.active {
    background: var(--success);
}

.dev-type-badge {
    font-size: 11px;
    color: #8e8e93;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 5px;
}

.dev-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.dev-actions .btn {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 13px;
    padding: 8px;
}

.btn-icon {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 22px;
    margin-right: 10px;
    cursor: pointer;
}

.btn-icon-small {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

/* Loading Spinner */
.spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.spinner.sm {
    width: 24px;
    height: 24px;
    border-width: 2px;
    margin-bottom: 0;
}

#loader {
    justify-content: center;
    align-items: center;
    background: var(--bg-color);
    z-index: 100;
}

/* --- Warning Modal --- */
.warning-modal-center {
    align-items: center !important;
    justify-content: center !important;
}

.warning-modal-center .modal-content {
    border-radius: 20px;
    width: 90%;
    max-width: 360px;
}

.warning-modal-box {
    background: #1a0a0a !important;
    border: 3px solid #ff2222 !important;
    box-shadow: 0 0 30px rgba(255, 34, 34, 0.4) !important;
    text-align: center;
    padding: 24px 20px !important;
}

.siren-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 4px 0;
}

.siren-icon {
    font-size: 36px;
}

.warning-title {
    color: #ff2222 !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    margin: 6px 0;
}

.warning-body {
    font-size: 16px;
    margin: 14px 0;
    color: #fff;
    line-height: 1.4;
}

.warning-highlight {
    color: #ff4444;
    text-decoration: underline;
    font-weight: 700;
}

.warning-accept-btn {
    width: 100%;
    margin-top: 8px;
    padding: 14px 18px;
    font-size: 16px;
    font-weight: 800;
    background: #ff2222 !important;
    color: #fff !important;
    border: none;
    border-radius: 12px;
    text-transform: uppercase;
}

/* Confirm Modal */
.warning-confirm-box {
    background: #1a1a0a !important;
    border: 3px solid #ffd60a !important;
    box-shadow: 0 0 20px rgba(255, 214, 10, 0.3) !important;
    text-align: center;
    padding: 24px 20px !important;
}

.confirm-question {
    font-size: 20px;
    text-align: center;
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.3;
    font-weight: 600;
}

.confirm-yes-btn {
    width: 100%;
    padding: 16px 18px;
    font-size: 20px;
    font-weight: 900;
    background: #ffd60a !important;
    color: #000 !important;
    border: none;
    border-radius: 12px;
    text-transform: uppercase;
}

/* --- Modal Base --- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: flex-end;
    justify-content: center;
    z-index: 50;
}

.modal.active {
    display: flex;
}

.upsell-modal-center {
    align-items: center;
}

.upsell-modal-center .modal-content {
    border-radius: 20px;
}

.modal-content {
    background: var(--bg-color);
    width: 100%;
    max-width: 480px;
    border-radius: 20px 20px 0 0;
    padding: 20px;
    position: relative;
}

@media (min-width: 520px) {
    .modal {
        align-items: center;
    }

    .modal-content {
        border-radius: 20px;
    }
}

.close-modal {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 26px;
    color: #8e8e93;
    cursor: pointer;
}

/* QR Modal */
.qr-modal-custom {
    align-items: flex-start;
    padding-top: 10vh;
}

.qr-modal-custom .modal-content {
    border-radius: 20px;
    width: 85%;
    max-width: 320px;
    margin: 0 auto;
}

/* Pay Options */
.pay-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.pay-option {
    background: var(--card-bg);
    border: 1.5px solid var(--card-border);
    border-radius: 14px;
    padding: 14px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.pay-option input {
    display: none;
}

.pay-option:has(input:checked) {
    border-color: var(--primary);
    background: rgba(42, 129, 243, 0.1);
}

.pay-option .po-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.po-months {
    font-weight: 600;
    font-size: 15px;
}

.po-price-box {
    display: flex;
    align-items: center;
    gap: 6px;
}

.po-price {
    font-weight: 700;
    font-size: 16px;
}

.po-old {
    color: #8e8e93;
    text-decoration: line-through;
    font-size: 13px;
}

.po-badge {
    background: var(--danger);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 5px;
}

.pay-option.highlight-gold {
    border-color: rgba(255, 215, 0, 0.3);
}

.pay-option.highlight-gold:has(input:checked) {
    border-color: #FFD700;
    background: rgba(255, 215, 0, 0.1);
}

.pay-option.highlight-gold .po-badge {
    background: #FF9500;
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 19, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 20px 20px 0 0;
}

.loading-overlay.active {
    display: flex;
}

/* --- Months Modal --- */
.months-modal-content {
    padding: 18px !important;
}

.months-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.month-card {
    display: block;
    cursor: pointer;
    position: relative;
}

.month-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.month-card-inner {
    border: 2px solid var(--card-border);
    border-radius: 12px;
    padding: 12px 14px;
    background: var(--card-bg);
    text-align: center;
}

.month-card input[type="radio"]:checked~.month-card-inner {
    border-color: var(--primary);
    background: rgba(42, 129, 243, 0.08);
}

.month-card-hot .month-card-inner {
    border-color: #FF6B35;
}

.month-card-hot input[type="radio"]:checked~.month-card-inner {
    border-color: #FF6B35;
    background: rgba(255, 107, 53, 0.08);
}

.month-card-best .month-card-inner {
    border-color: #FFD700;
    background: rgba(255, 215, 0, 0.03);
}

.month-card-best input[type="radio"]:checked~.month-card-inner {
    border-color: #FFD700;
    background: rgba(255, 215, 0, 0.1);
}

.month-duration {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 3px;
}

.month-price {
    font-size: 20px;
    font-weight: 700;
}

.month-price-sale {
    color: #FF6B35;
}

.month-price-best {
    color: #FFD700;
}

.month-old-price {
    font-size: 13px;
    color: #8e8e93;
    margin-bottom: 2px;
}

.month-old-price s {
    text-decoration: line-through;
    color: #ff4444;
    opacity: 0.7;
}

.sale-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FF6B35, #ff4444);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 16px;
    margin-bottom: 4px;
}

.sale-badge-best {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1a1a1a;
    font-size: 11px;
    padding: 3px 10px;
}

/* --- Payment Method Selector --- */
.payment-methods-selector {
    display: flex;
    gap: 8px;
}

.pm-card {
    flex: 1;
    display: block;
    cursor: pointer;
    position: relative;
}

.pm-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.pm-card-inner {
    border: 2px solid var(--card-border);
    border-radius: 12px;
    padding: 10px 6px;
    background: var(--card-bg);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: border-color 0.2s, background 0.2s;
}

.pm-card input[type="radio"]:checked~.pm-card-inner {
    border-color: var(--primary);
    background: rgba(42, 129, 243, 0.1);
}

.pm-icon {
    font-size: 22px;
    line-height: 1;
}

.pm-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-color);
}

/* --- Global User ID Badge --- */
.global-id-badge {
    position: fixed;
    bottom: calc(8px + var(--tg-safe-area-inset-bottom, 0px));
    left: 50%;
    transform: translateX(-50%);
    z-index: 40;
    background: rgba(30, 30, 30, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 4px 12px;
    font-size: 11px;
    color: #8e8e93;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    user-select: none;
    -webkit-user-select: none;
}

.global-id-badge:active {
    background: rgba(42, 129, 243, 0.3);
}

.global-id-badge strong {
    color: #fff;
    font-weight: 600;
}

/* --- L2TP Config --- */
.l2tp-config {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 4px 0;
    margin-bottom: 14px;
    overflow: hidden;
}

.l2tp-field {
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.l2tp-field:last-child {
    border-bottom: none;
}

.l2tp-label {
    display: block;
    font-size: 11px;
    color: #8e8e93;
    margin-bottom: 3px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.l2tp-value-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.l2tp-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    word-break: break-all;
    flex: 1;
    font-family: 'SF Mono', 'Menlo', 'Consolas', monospace;
}

.l2tp-copy-btn {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(42, 129, 243, 0.15);
    border: 1px solid rgba(42, 129, 243, 0.3);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
}

.l2tp-copy-btn:active {
    opacity: 0.7;
}

/* --- Scroll Indicator (Cabinet) --- */
.scroll-hint {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 20;
    pointer-events: none;
    display: none;
    flex-direction: column;
    align-items: center;
}

.scroll-hint-fade {
    height: 60px;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    background: linear-gradient(transparent, var(--bg-color));
}

.scroll-hint-pill {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: #8e8e93;
    background: rgba(30, 30, 30, 0.9);
    padding: 5px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

.small-text {
    font-size: 13px;
    color: #8e8e93;
}

.mb-10 {
    margin-bottom: 8px;
}

.mb-15 {
    margin-bottom: 12px;
}

/* --- CAPTCHA Status --- */
.captcha-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
}

.captcha-status.solving {
    background: rgba(42, 129, 243, 0.1);
    border: 1px solid rgba(42, 129, 243, 0.25);
    color: #6aafff;
}

.captcha-status.solved {
    background: rgba(52, 199, 89, 0.1);
    border: 1px solid rgba(52, 199, 89, 0.25);
    color: #34c759;
}

.captcha-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(42, 129, 243, 0.3);
    border-top-color: #2a81f3;
    border-radius: 50%;
    animation: captchaSpin 0.8s linear infinite;
    flex-shrink: 0;
}

@keyframes captchaSpin {
    100% {
        transform: rotate(360deg);
    }
}
