:root {
    /* Bootstrap Font Overrides */
    --bs-font-sans-serif: 'Sora', sans-serif;
    --bs-font-monospace: 'Space Mono', monospace;
    --bs-gradient: none;

    /* Переопределение Bootstrap table hover переменных */
    --bs-table-hover-bg: transparent;
    --bs-table-hover-color: inherit;

    /* Custom Variables */
    --accent-teal: #20cfcf;
    --accent-teal-dim: rgba(32, 207, 207, 0.15);
    --accent-teal-glow: rgba(32, 207, 207, 0.4);
    --accent-green: #00d46a;
    --accent-orange: #ff8c42;
    --bg-primary: #0d0d0d;
    --bg-secondary: #141414;
    --bg-card: #1a1a1a;
    --bg-input: #0f0f0f;
    --bg-dropdown: #1a1a1a;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-active: rgba(32, 207, 207, 0.3);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --text-tertiary: rgba(255, 255, 255, 0.4);
    --text-muted: rgba(255, 255, 255, 0.25);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-glow: 0 0 60px rgba(32, 207, 207, 0.08);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-dropdown: 0 12px 48px rgba(0, 0, 0, 0.6);

    --error: #ef4444;
    --error-muted: rgba(239, 68, 68, 0.15);
    --error-subtle: rgba(239, 68, 68, 0.08);

    --status-success: #22c55e;
    --status-warning: #eab308;
    --status-error: #ef4444;
    --status-danger: #ef4444;
    --status-info: #3b82f6;
}

body {
    font-family: 'Sora', sans-serif;
    background: #0d0d0d;
    color: #ffffff;
    height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
}

/* Animated Background */
.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(32, 207, 207, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(32, 207, 207, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

/* Custom .bg-gradient - override Bootstrap */
.bg-gradient {
    position: fixed !important;
    inset: 0 !important;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(32, 207, 207, 0.12), transparent),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(32, 207, 207, 0.06), transparent) !important;
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(32, 207, 207, 0.12), transparent),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(32, 207, 207, 0.06), transparent) !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

.container{
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    background: var(--bg-card);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    max-width: 340px;
    width: 100%;
    padding: 20px;
}

.exchange-btn {
    background: linear-gradient(135deg, var(--accent-teal), #1ab3b3);
    border: none;
    color: #0d0d0d;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}


.exchange-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: all 0.3s ease;
}

.exchange-btn:hover::before {
    transform: translateX(100%);
}

.exchange-btn:hover {
    box-shadow: 0 8px 32px var(--accent-teal-glow);
    transform: translateY(-2px);
}

h1 {
    color: var(--accent-teal);
    margin-top: 0;
    font-size: 20px;
}
.message {
    background: var(--accent-teal-dim);
    border: 1px solid var(--accent-teal);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    font-size: 18px;
}
.error {
    background: #4d1a1a;
    border-color: #f00;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #444;
}
th {
    background: var(--bg-secondary);
    color: var(--accent-teal);
    font-weight: 600;
}
tr:last-child td {
    border-bottom: none;
}
.actions {
    margin-top: 30px;
    text-align: center;
}
a {
    display: inline-block;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
   
    text-align: center;
    width: 100%;
}

.code {
    color: var(--accent-teal);
    padding: 4px 8px;
}
.warning {
    background: var(--bg-secondary);
    border: 1px solid var(--accent-teal-glow);
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    color: var(--accent-teal);
}

/* History Table */

.containerTable{
    padding: 40px;
}
.customBtn{
    background: var(--accent-teal);
    color: var(--bg-primary);
    border: none;
    padding: 5px 20px;
}
.customBtn:hover{
    background: var(--accent-teal-glow);
    color: var(--text-primary);
}
/* Стили для строк таблицы с максимальной специфичностью для переопределения Bootstrap */
body table.table.table-sm.table-hover.table-dark tbody tr.table-success,
body table.table tbody tr.table-success,
table.table.table-sm.table-hover.table-dark tbody tr.table-success,
table.table tbody tr.table-success,
table tbody tr.table-success,
tr.table-success {
    background-color: #326e23 !important;
    background: #4799326e  !important;
    color: #ffffff !important;
    border-radius: 8px !important;
}
body table.table.table-sm.table-hover.table-dark tbody tr.table-success:hover,
body table.table tbody tr.table-success:hover,
table.table.table-sm.table-hover.table-dark tbody tr.table-success:hover,
table.table tbody tr.table-success:hover,
table tbody tr.table-success:hover,
tr.table-success:hover {
    background-color: #326e23 !important;
    background: #326e23c0 !important;
    color: #ffffff !important;
    --bs-table-accent-bg: #326e23 !important;
}
body table.table.table-sm.table-hover.table-dark tbody tr.table-success td,
body table.table tbody tr.table-success td,
table.table.table-sm.table-hover.table-dark tbody tr.table-success td,
table.table tbody tr.table-success td,
table tbody tr.table-success td,
tr.table-success td {
    background-color: transparent !important;
}
.page-item{
    border-radius: 4px;
}
.page-link{
    color: var(--bg-secondary);
}
/* partners */


.navbar {
    background: #1a1a1a !important;
    border-bottom: 1px solid #333;
}
.navbar-brand {
    color: var(--accent-teal) !important;
    font-weight: 600;
    text-align: left !important;
}
.navbar-nav .nav-link {
    color: #ccc !important;
}
.navbar-nav .nav-link:hover {
    color: var(--accent-teal) !important;
}
.navbar-nav .nav-link.active {
    color: var(--accent-teal) !important;
    font-weight: 600;
}
.navbar-toggler {
    padding: 4px 8px;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    margin-left: auto;
    margin-top: -42px;
}
.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(32, 207, 207, 0.25);
}
.navbar-toggler-icon {
    width: 18px;
    height: 18px;
    background-size: 100%;
}
.card {
    background: #1a1a1a;
    border: 1px solid #333;
    color: #e0e0e0;
}
.card-header {
    color: var(--accent-teal);
    font-weight: 600;
}
.table {
    color: #e0e0e0;
}
.table thead th {
    background: #0f0f0f;
    color: var(--accent-teal);
    border-color: #333;
}
.table tbody tr {
    border-color: #2a2a2a;
}
.table tbody tr:hover {
    background: #252525;
}
.form-control, .form-select {
    background: #0f0f0f;
    border: 1px solid #333;
    color: #e0e0e0;
}
.form-control:focus, .form-select:focus {
    background: #0f0f0f;
    border-color: var(--accent-teal);
    color: #e0e0e0;
    box-shadow: 0 0 0 0.2rem rgba(74, 158, 255, 0.25);
}
.btn-primary {
    background: var(--accent-teal);
    border: none;
    color: var(--bg-primary);
    max-width: 300px !important;
    width: 100% !important;
}
.btn-primary:hover {
    background: var(--accent-teal-glow);
}
.alert {
    border-radius: 8px;
    border: none;
}
.logo-preview {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #4a9eff;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
}
.logo-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

/* Error */

.navbar {
    background: #1a1a1a !important;
    border-bottom: 1px solid #333;
}
.navbar-brand {
    color: var(--accent-teal) !important;
    font-weight: 600;
}
.navbar-nav .nav-link {
    color: #ccc !important;
}
.navbar-nav .nav-link:hover {
    color: var(--accent-teal) !important;
}
.navbar-nav .nav-link.active {
    color: var(--accent-teal) !important;
    font-weight: 600;
}
.container-fluid {
    max-width: 1400px;
}
/* Color picker */
.form-control-color {
    width: 50px;
    min-width: 50px;
    padding: 4px;
    cursor: pointer;
}
.form-control-color::-webkit-color-swatch-wrapper {
    padding: 2px;
}
.form-control-color::-webkit-color-swatch {
    border-radius: 4px;
    border: none;
}
.stats-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}
.stat-item {
    background: #0f0f0f;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #2a2a2a;
}
.stat-label {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 5px;
}
.stat-value {
    font-size: 24px;
    font-weight: 600;
    color: var(--accent-teal);
}
.table {
    background: #1a1a1a;
    color: #e0e0e0;
    border: 1px solid #333;
    vertical-align: middle !important;
}
.table thead th {
    background: #0f0f0f;
    color: var(--accent-teal);
    border-color: #333;
    font-weight: 600;
}
.table tbody tr {
    border-color: #2a2a2a;
}
.table tbody tr:hover {
    background: #5b5b5b;
    color: #ffffff;
}
.btn-primary {
    background: var(--accent-teal);
    border: none;
}
.btn-primary:hover {
    background: var(--accent-teal-glow);
}
.btn-danger {
    background: #dc3545;
    border: none;
}
.btn-warning {
    background: #ffc107;
    border: none;
    color: #000;
}
.error-type {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}
.error-type.validation {
    background: #4a1a1a;
    color: #ff6b6b;
}
.error-type.api {
    background: #1a4a4a;
    color: #6bfff6;
}
.error-type.database {
    background: #4a4a1a;
    color: #ffd66b;
}
.error-type.network {
    background: #1a1a4a;
    color: #6b9bff;
}
.error-message {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    max-width: 400px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.pagination .page-link {
    background: #1a1a1a;
    border-color: #333;
    color: #4a9eff;
}
.pagination .page-link:hover {
    background: #252525;
    color: #4a9eff;
}
.pagination .page-item.active .page-link {
    background: #4a9eff;
    border-color: #4a9eff;
    color: #fff;
}
.alert {
    border-radius: 8px;
    border: none;
}
.form-control, .form-select {
    background: #1a1a1a;
    border: 1px solid #333;
    color: #e0e0e0;
}
.form-control:focus, .form-select:focus {
    background: #1a1a1a;
    border-color: #4a9eff;
    color: #e0e0e0;
    box-shadow: 0 0 0 0.2rem rgba(74, 158, 255, 0.25);
}
.modal-content {
    background: #1a1a1a;
    color: #e0e0e0;
}
.modal-header {
    border-bottom: 1px solid #333;
}
.modal-footer {
    border-top: 1px solid #333;
}
pre {
    background: #0f0f0f;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #333;
    color: #0f0;
    font-size: 12px;
    max-height: 400px;
    overflow: auto;
}

.dashboard-header{
    display: flex;
    align-items: center;
}


.form-group,
.mb-3,
.field-group {
    margin-bottom: 1rem;
}

.form-group label,
.field-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-group small,
.field-group small {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--text-tertiary);
}

.success,
.completed,
.status.success,
.status.completed,
.badge.success,
.badge.completed {
    color: var(--status-success);
    background-color: rgba(34, 197, 94, 0.2);
}
/* WARNING / PENDING / WAITING */
.warning,
.pending,
.waiting,
.status.warning,
.status.pending,
.status.waiting,
.badge.warning,
.badge.pending,
.badge.waiting {
    color: var(--status-warning);
    background-color: rgba(234, 179, 8, 0.2);
}

/* ERROR / DANGER */
.error,
.danger,
.status.error,
.status.danger,
.badge.error,
.badge.danger {
    color: var(--status-error);
    background-color: rgba(239, 68, 68, 0.2);
}

/* INFO */
.info,
.status.info,
.badge.info {
    color: var(--status-info);
    background-color: rgba(59, 130, 246, 0.2);
}


.status.success,
.status.warning,
.status.error,
.status.info {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

/* ---------- BOOTSTRAP-LIKE VARIANTS ---------- */
.text-success { color: var(--status-success) !important; }
.text-warning { color: var(--status-warning) !important; }
.text-danger  { color: var(--status-error) !important; }
.text-info    { color: var(--status-info) !important; }

.bg-success { background-color: rgba(34,197,94,.2) !important; }
.bg-warning { background-color: rgba(234,179,8,.2) !important; }
.bg-danger  { background-color: rgba(239,68,68,.2) !important; }
.bg-info    { background-color: rgba(59,130,246,.2) !important; }

/* ---------- BADGES ---------- */
.badge.success,
.badge.warning,
.badge.error,
.badge.info {
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
}


/* Tabs container */
.nav-tabs {
    border-bottom: none;
    background: var(--bg-secondary);
    padding: 6px;
    border-radius: var(--radius-md);
    gap: 6px;
    width: fit-content;
}

/* Tab button */
.nav-tabs .nav-link {
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    padding: 10px 18px;
    font-weight: 500;
    color: var(--text-secondary);
    background: transparent;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.nav-link{
    white-space: nowrap;
}

/* Hover */
.nav-tabs .nav-link:hover {
    background: var(--accent-teal-dim);
    color: var(--accent-teal);
}

/* Active tab */
.nav-tabs .nav-link.active {
    background: linear-gradient(
        135deg,
        var(--accent-teal),
        #1ab3b3
    );
    color: #0d0d0d;
    font-weight: 600;
    box-shadow: 0 0 24px var(--accent-teal-glow);
    border: none;
}

/* Remove bootstrap focus ring */
.nav-tabs .nav-link:focus {
    box-shadow: none;
}

/* Optional: smooth active pop */
.nav-tabs .nav-link.active {
    transform: translateY(-1px);
}

.navbarExchangeBtn{
    margin-right: 195px;
}

@media (max-width: 1200px) {
    .container-fluid {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .btn-primary {
        width: 100% !important;
    }
     .containerTable{
        padding: 25px;
    }
    .navbarExchangeBtn{
    margin-right: 0px;
    margin: 0 auto;
}
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    table th,
    table td {
        padding: 8px;
        font-size: 13px;
    }

    .navbar-brand {
        font-size: 14px;
    }
    
    .containerTable{
        padding: 15px;
    }
    .navbar-toggler {
        margin-top: -32px;
    }
}



/* Login Container */
.login-container {
    min-height: 100vh;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* Login Card */
.login-cardMain {
    display: flex;
    width: 100%;
    max-width: 700px;
    min-height: 600px;
    background: #2a2a2a;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

/* Left Panel */
.left-panel {
    background: #0f0f0f;
    width: 200px;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-wrapper {
    position: relative;
    width: 160px;
    height: 160px;
}

.logo-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 160px;
    height: 160px;
}

/* Базовый веном - всегда виден */
.logo-image.base {
    opacity: 1;
    z-index: 1;
}

/* Глаза - поверх базы, пульсируют */
.logo-image.eyes {
    opacity: 0;
    z-index: 2;
    transition: opacity 0.8s ease-in-out;
}

.logo-image.eyes.visible {
    opacity: 1;
}

/* Right Panel */
.right-panel {
    flex: 1;
    background: #2a2a2a;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Login Header */
.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.brand {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 0.25rem;
}

.brand-accent {
    color: #26c6da;
}

.brand-subtitle {
    font-size: 0.75rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
}

.title {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Login Form */
.login-form {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    color: #e9ecef;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-label i {
    color: #26c6da;
    margin-right: 0.5rem;
}

.form-control {
    width: 100%;
    background: #1a1a1a;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: #fff;
    font-size: 1rem;
    transition: all 0.2s ease;
    outline: none;
}

.form-control:focus {
    background: #1a1a1a;
    border-color: #26c6da;
    box-shadow: 0 0 0 0.2rem rgba(38, 198, 218, 0.25);
}

.form-control::placeholder {
    color: #6c757d;
}

/* Автозаполнение браузера */
.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover,
.form-control:-webkit-autofill:focus,
.form-control:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #1a1a1a inset !important;
    -webkit-text-fill-color: #fff !important;
    box-shadow: 0 0 0 1000px #1a1a1a inset !important;
    caret-color: #fff;
    transition: background-color 5000s ease-in-out 0s;
}

.form-control:-moz-autofill,
.form-control:-moz-autofill:hover,
.form-control:-moz-autofill:focus {
    background-color: #1a1a1a !important;
    color: #fff !important;
}

/* Select */
.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%236c757d' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-select option {
    background: #1a1a1a;
    color: #fff;
}

/* Password Input */
.password-input-container {
    position: relative;
}

.password-input-container .form-control {
    padding-right: 3rem;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    transform: translateY(-50%);
    border: none;
    background: none;
    color: #6c757d;
    padding: 0.25rem;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 10;
}

.password-toggle:hover,
.password-toggle:focus {
    color: #26c6da;
    outline: none;
}

/* Error Message */
.error-message {
    background: #4d1a1a;
    border: 1px solid #ef4444;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    color: #fff;
    font-size: 0.9rem;
}

.error-message strong {
    color: #ef4444;
    margin-right: 0.5rem;
}

/* Captcha */
.captcha-container {
    margin-bottom: 1rem;
}

.checkbox-container {
    background: #1a1a1a;
    border: 1px solid #444;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    transition: all 0.2s ease;
    width: 50%;
    margin: 0 auto;
}

.checkbox-container:focus-within {
    border-color: #26c6da;
    box-shadow: 0 0 0 0.2rem rgba(38, 198, 218, 0.25);
}

.checkbox-label {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    margin: 0;
}

.captcha-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: relative;
    height: 16px;
    width: 16px;
    background: #2a2a2a;
    border: 2px solid #444;
    border-radius: 3px;
    margin-right: 8px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.checkbox-label:hover .checkmark {
    border-color: #26c6da;
}

.captcha-checkbox:checked ~ .checkmark {
    background: #26c6da;
    border-color: #26c6da;
}

.captcha-checkbox:checked ~ .checkmark::after {
    content: "";
    position: absolute;
    display: block;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.label-text {
    color: #e9ecef;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    text-transform: uppercase;
}

.label-text i {
    color: #26c6da;
    margin-right: 0.5rem;
}

/* me-2 Bootstrap spacing */
.me-2 {
    margin-right: 0.5rem !important;
}

/* Спиннер загрузки для капчи */
.captcha-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #444;
    border-top-color: #26c6da;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Скрываем чекмарк во время загрузки */
.checkbox-label.loading .checkmark {
    display: none;
}

/* Галочка успеха */
.captcha-success {
    color: #28a745;
    margin-right: 8px;
    font-size: 1rem;
}

/* Отключаем клик во время загрузки */
.checkbox-label.loading {
    pointer-events: none;
}

.checkbox-label.verified {
    pointer-events: none;
}

.checkbox-label.verified .checkmark {
    background: #26c6da;
    border-color: #26c6da;
}

.checkbox-label.verified .checkmark::after {
    content: "";
    position: absolute;
    display: block;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Login Button */
.login-button {
    width: 100%;
    background: #26c6da;
    border: 1px solid #26c6da;
    border-radius: 4px;
    padding: 0.75rem 1rem;
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.login-button:hover:not(:disabled) {
    background: #00acc1;
    border-color: #00acc1;
}

.login-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Login Footer */
.login-footer {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #444;
}

.login-footer p {
    color: #6c757d;
    font-size: 0.875rem;
    margin: 0;
}

.login-footer i {
    margin-right: 0.25rem;
}

/* Test Credentials */
.test-credentials {
    margin-top: 1rem;
    padding: 1rem;
    background: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #444;
    text-align: center;
    font-size: 0.875rem;
    color: #6c757d;
}

.test-credentials strong {
    color: #26c6da;
    display: block;
    margin-bottom: 0.5rem;
}

.test-credentials code {
    background: #2a2a2a;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    color: #fff;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .login-card {
        flex-direction: column;
        max-width: 500px;
        min-height: auto;
    }
    
    .left-panel {
        width: 100%;
        min-width: 100%;
        padding: 2rem;
    }
    
    .right-panel {
        padding: 2rem;
    }
    
    .title {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .login-container {
        padding: 1rem;
    }
    
    .left-panel,
    .right-panel {
        padding: 1.5rem;
    }
    
    .title {
        font-size: 1.3rem;
    }
    
    .checkbox-container {
        width: 70%;
    }
    
    .checkbox-label {
        font-size: 0.85rem;
    }
    
    .checkmark {
        height: 14px;
        width: 14px;
        margin-right: 6px;
    }
    
    .captcha-checkbox:checked ~ .checkmark::after {
        left: 3px;
        top: 0;
        width: 3px;
        height: 7px;
    }
}

