/* assets/css/style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0c0e14;
    color: #e0e4f0;
    font-size: 14px;
    line-height: 1.5;
}

/* Фоновый шум и градиент */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDAiIGhlaWdodD0iMzAwIj48ZmlsdGVyIGlkPSJmIj48ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iLjc0IiBudW1PY3RhdmVzPSIzIiAvPjwvZmlsdGVyPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbHRlcj0idXJsKCNmKSIgb3BhY2l0eT0iMC4wMjUiIC8+PC9zdmc+');
    opacity: 0.2;
    pointer-events: none;
    z-index: -2;
}

.layout {
    display: flex;
    min-height: 100vh;
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px;
    gap: 24px;
}

/* ---------- ЛЕВАЯ ПАНЕЛЬ (МЕНЮ) ---------- */
.sidebar {
    width: 280px;
    flex-shrink: 0;
    background: rgba(18, 20, 28, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid #2a2f3f;
    border-radius: 32px;
    padding: 24px 18px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    height: fit-content;
    position: sticky;
    top: 20px;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.8);
}

.sidebar-logo {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #c8a8ff, #80b0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
}

.sidebar-search {
    position: relative;
    width: 100%;
}

.sidebar-search i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #6a7290;
    font-size: 0.95rem;
}

.sidebar-search input {
    width: 100%;
    background: #1c1f2c;
    border: 1px solid #2e3445;
    border-radius: 40px;
    padding: 12px 20px 12px 46px;
    color: white;
    font-size: 0.9rem;
    outline: none;
    transition: 0.2s;
}

.sidebar-search input:focus {
    border-color: #8f7ee0;
    box-shadow: 0 0 0 2px rgba(139, 110, 240, 0.3);
}

.sidebar-search input::placeholder {
    color: #5c637f;
}

/* Live Search Dropdown */
.search-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    background: #1c1f2c;
    border: 1px solid #2e3445;
    border-radius: 20px;
    z-index: 100;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: none;
    flex-direction: column;
    padding: 8px 0;
}

.search-dropdown.active {
    display: flex;
}

.search-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: #b6c2e6;
    text-decoration: none;
    transition: 0.15s;
    border-bottom: 1px solid #212534;
}

.search-dropdown-item:last-child {
    border-bottom: none;
}

.search-dropdown-item:hover {
    background: #242b3c;
    color: white;
}

.search-dropdown-item img,
.search-dropdown-item .icon-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: cover;
    background: #2a3143;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9b8af0;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.search-dropdown-item .info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.search-dropdown-item .info strong {
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-dropdown-item .info small {
    font-size: 0.7rem;
    color: #7d88b0;
}

.sidebar-section h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #7d88b0;
    margin-bottom: 16px;
    border-bottom: 1px dashed #2f354a;
    padding-bottom: 8px;
}

.category-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #181c28;
    border: 1px solid #2b3140;
    border-radius: 16px;
    color: #b6c2e6;
    text-decoration: none;
    font-weight: 500;
    transition: 0.15s;
}

.category-list li a i {
    width: 22px;
    color: #9b8af0;
    font-size: 1.1rem;
}

.category-list li a:hover {
    background: #242b3c;
    border-color: #6f5fa0;
    color: white;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.tag {
    background: #1f2533;
    border: 1px solid #353e54;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #b9c5e8;
    cursor: default;
}

.tag.repacker {
    background: #2a2340;
    border-color: #6b5390;
    color: #cfc0ff;
}

.popular-repackers {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.repacker-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #161b26;
    padding: 8px 14px;
    border-radius: 20px;
    border: 1px solid #2a3142;
}

.repacker-item img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #353f5a;
}

.repacker-item span {
    font-weight: 600;
    color: #cfd7f5;
}

.repacker-item small {
    margin-left: auto;
    color: #7b89b0;
    font-size: 0.7rem;
}

/* ---------- ОСНОВНОЙ КОНТЕНТ (ПРАВАЯ ЧАСТЬ) ---------- */
.main-content {
    flex: 1;
    min-width: 0;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 15px;
}

.content-header h1 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff, #c9d3ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border-left: 4px solid #9b8af0;
    padding-left: 18px;
}

.sort-bar {
    display: flex;
    gap: 12px;
    background: #1a1e2a;
    padding: 6px 10px;
    border-radius: 40px;
    border: 1px solid #2f3548;
}

.sort-bar span {
    padding: 6px 18px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.85rem;
    cursor: default;
    color: #a5b1d5;
    transition: 0.1s;
}

.sort-bar .active {
    background: #5b4c9a;
    color: white;
}

.file-upload-wrapper label.btn-file:hover {
    background: #3b4255 !important;
    color: white !important;
}

/* Fix SimpleLightbox interface colors */
.sl-wrapper .sl-close,
.sl-wrapper .sl-navigation button {
    color: #ffffff !important;
    opacity: 0.8;
}

.sl-wrapper .sl-close:hover,
.sl-wrapper .sl-navigation button:hover {
    opacity: 1;
}

/* сетка карточек */
.repack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 22px;
    margin-bottom: 40px;
}

.card {
    background: #171c26;
    border: 1px solid #2b3243;
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-6px);
    border-color: #7b68c0;
    box-shadow: 0 16px 32px rgba(100, 70, 180, 0.3);
}

.card-preview {
    height: 140px;
    background: #202636;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4d5775;
    font-size: 3.2rem;
    border-bottom: 1px solid #2e3548;
    background-image: radial-gradient(circle at 20% 30%, #2d3448, #151a22);
}

/* Fix for uploaded images in preview */
.card-preview img,
.card-preview i {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-content {
    padding: 16px;
    flex: 1;
}

.card-title {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 6px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.card-title .version {
    background: #2b3245;
    font-size: 0.7rem;
    padding: 2px 10px;
    border-radius: 30px;
    color: #b7c2ec;
    font-weight: 400;
}

.card-desc {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    font-size: 0.8rem;
    color: #9aa7c9;
    margin: 12px 0;
    padding-bottom: 10px;
    border-bottom: 1px dashed #293040;
}

.card-desc span i {
    width: 18px;
    color: #9b8af0;
}

.card-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 12px 0;
}

.tag-sm {
    background: #262e40;
    color: #b7c4ec;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
    border: 1px solid #3b455f;
}

.tag-repacker {
    background: #322d48;
    border-color: #6f5ba0;
    color: #d2c2ff;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
}

.magnet-btn {
    background: #2a3143;
    border: 1px solid #495475;
    color: #dee7ff;
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.8rem;
    text-decoration: none;
    transition: 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.magnet-btn:hover {
    background: #6d5ac9;
    border-color: #9a86fd;
    color: white;
}

.seeders {
    color: #52b48c;
    font-weight: 700;
    font-size: 0.9rem;
}

.seeders i {
    margin-right: 4px;
}

/* плашка «популярно» */
.popular-badge {
    background: #e09f4c;
    color: #121212;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 30px;
    text-transform: uppercase;
}

/* ========================================= */
/*       AUTH PAGE STYLES (Login)            */
/* ========================================= */

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #9aa7c9;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 16px;
    transition: 0.2s;
}

.back-link:hover {
    color: #c8a8ff;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    margin-bottom: 40px;
}

.auth-card {
    background: #171c26;
    border: 1px solid #2b3243;
    border-radius: 28px;
    padding: 28px;
}

.auth-tabs {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
    border-bottom: 1px dashed #2f354a;
    padding-bottom: 16px;
}

.tab-btn {
    background: transparent;
    border: none;
    color: #7d88b0;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 40px;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn i {
    color: #9b8af0;
    font-size: 1.1rem;
}

.tab-btn.active {
    background: #2a2340;
    color: #cfc0ff;
    border: 1px solid #6b5390;
}

.tab-btn:hover {
    color: #e0e4f0;
}

/* Формы */
.auth-form {
    display: block;
    margin-top: 16px;
}

.auth-form.hidden {
    display: none;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #9aa7c9;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #6a7290;
    font-size: 1rem;
}

.input-wrapper input,
.input-wrapper textarea {
    width: 100%;
    background: #1c1f2c;
    border: 1px solid #2e3445;
    border-radius: 40px;
    padding: 14px 20px 14px 46px;
    color: white;
    font-size: 0.95rem;
    outline: none;
    transition: 0.2s;
    font-family: 'Inter', sans-serif;
}

.input-wrapper textarea {
    border-radius: 24px;
    padding: 14px 20px 14px 46px;
    resize: vertical;
    min-height: 80px;
}

.input-wrapper input:focus,
.input-wrapper textarea:focus {
    border-color: #8f7ee0;
    box-shadow: 0 0 0 2px rgba(139, 110, 240, 0.3);
}

.input-wrapper input::placeholder,
.input-wrapper textarea::placeholder {
    color: #5c637f;
}

/* Чекбокс */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #9b8af0;
    background: #1c1f2c;
    border: 1px solid #2e3445;
    border-radius: 6px;
}

.checkbox-group label {
    color: #b6c2e6;
    font-size: 0.9rem;
}

.checkbox-group a {
    color: #c8a8ff;
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.auth-btn {
    background: #5b4c9a;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: 0.2s;
    border: none;
    width: 100%;
    cursor: pointer;
    margin: 24px 0 16px;
}

.auth-btn:hover {
    background: #7b68c0;
}

/* Правосторонняя панель инфо */
.sidebar-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-panel {
    background: #171c26;
    border: 1px solid #2b3243;
    border-radius: 28px;
    padding: 20px;
}

.info-panel h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    border-left: 4px solid #9b8af0;
    padding-left: 12px;
}

.info-panel .row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

/* ========================================= */
/*       ADMIN PANEL STYLES                  */
/* ========================================= */
.admin-badge {
    background: #322d48;
    border: 1px solid #6f5ba0;
    border-radius: 40px;
    padding: 8px 16px;
    text-align: center;
    font-weight: 600;
    color: #cfc0ff;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.admin-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.admin-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #181c28;
    border: 1px solid #2b3140;
    border-radius: 18px;
    color: #b6c2e6;
    text-decoration: none;
    font-weight: 500;
    transition: 0.15s;
    cursor: pointer;
}

.admin-menu li a i {
    width: 22px;
    color: #9b8af0;
}

.admin-menu li a:hover {
    background: #242b3c;
    border-color: #6f5fa0;
    color: white;
}

.admin-menu .active a {
    background: #2b2340;
    border-color: #8f7ee0;
    color: white;
}

.section {
    display: none;
}

.section.active {
    display: block;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: #171c26;
    border: 1px solid #2b3243;
    border-radius: 26px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon {
    width: 54px;
    height: 54px;
    background: #202636;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #9b8af0;
    border: 1px solid #3b455f;
    box-shadow: 0 0 15px rgba(155, 138, 240, 0.2);
    text-shadow: 0 0 10px rgba(155, 138, 240, 0.5);
}

.stat-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

.stat-content p {
    color: #7d88b0;
    font-weight: 500;
}

.btn-primary {
    background: #5b4c9a;
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: 0.2s;
    border: 1px solid #7b68c0;
}

.btn-primary:hover {
    background: #6d5ac9;
}

.btn-secondary {
    background: #2a3143;
    border: 1px solid #495475;
    color: #dee7ff;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: #3c455f;
}

.table-wrapper {
    background: #171c26;
    border: 1px solid #2b3243;
    border-radius: 28px;
    padding: 20px;
    overflow-x: auto;
    margin-bottom: 32px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    text-align: left;
    padding: 16px 12px;
    color: #7d88b0;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    border-bottom: 1px solid #2b3243;
}

td {
    padding: 16px 12px;
    border-bottom: 1px solid #262e40;
    color: #cfd7f5;
}

tr:last-child td {
    border-bottom: none;
}

.form-card {
    background: #171c26;
    border: 1px solid #2b3243;
    border-radius: 28px;
    padding: 28px;
    margin-bottom: 32px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 24px 0;
}

.form-row {
    grid-column: span 2;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 20px;
}

/* ========================================= */
/*       REPACK DETAIL STYLES                */
/* ========================================= */
.repack-header {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    background: #171c26;
    border: 1px solid #2b3243;
    border-radius: 32px;
    padding: 24px;
}

.repack-header-icon {
    font-size: 4rem;
    color: #9b8af0;
    background: #202636;
    width: 100px;
    height: 100px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #495475;
}

.repack-header-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
}

.repack-header-info h1 {
    font-size: 2.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, #c9d3ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
}

.repack-header-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    color: #9aa7c9;
    font-size: 0.95rem;
}

.repack-header-meta i {
    width: 20px;
    color: #9b8af0;
}

.detail-card {
    background: #171c26;
    border: 1px solid #2b3243;
    border-radius: 28px;
    padding: 24px;
    margin-bottom: 24px;
}

.detail-card h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    border-left: 4px solid #9b8af0;
    padding-left: 16px;
}

.description {
    color: #b5c1e5;
    line-height: 1.7;
    margin-bottom: 24px;
}

.requirements {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 16px;
}

.req-col p {
    margin-bottom: 8px;
    color: #b5c1e5;
}

.req-col strong {
    color: white;
}

.screenshots {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.screenshot {
    width: calc(33.333% - 8px);
    background: #202636;
    aspect-ratio: 16/9;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #3e485f;
    color: #4d5775;
    font-size: 2rem;
}

.magnet-big {
    background: #5b4c9a;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    transition: 0.2s;
    margin-top: 16px;
}

.magnet-big:hover {
    background: #7b68c0;
}

.spec-label {
    color: #7d88b0;
    font-weight: 500;
}

.spec-value {
    color: #e0e4f0;
    font-weight: 600;
}

/* media queries */
@media (max-width: 1000px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-column: span 1;
    }
}

@media (max-width: 900px) {
    .layout {
        flex-direction: column;
        padding: 15px;
    }

    .sidebar {
        width: 100%;
        position: static;
    }
}

/* ========================================= */
/*       NEW AUTH PAGE STYLES (User Provided) */
/* ========================================= */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Auth Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #9aa7c9;
    margin-bottom: 8px;
    font-weight: 500;
}

/* Chart Filters */
.chart-filters {
    display: flex;
    gap: 5px;
    background: #151823;
    padding: 3px;
    border-radius: 20px;
    border: 1px solid #2e3445;
}

.filter-btn {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    color: #7d88b0;
    text-decoration: none;
    transition: 0.2s;
}

.filter-btn:hover {
    color: white;
}

.filter-btn.active {
    background: #5b4c9a;
    color: white;
    font-weight: 500;
}

.stat-box {
    background: #1c1f2c;
    border: 1px solid #2e3445;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
}

.stat-box h3 {
    font-size: 1.1rem;
    color: #9aa7c9;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Map Visualization */
.map-container {
    position: relative;
    width: 100%;
    height: 200px;
    background: #151823;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.map-point {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #52b48c;
    border-radius: 50%;
    box-shadow: 0 0 10px #52b48c;
    animation: pulse 2s infinite;
}

.map-radar {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(82, 180, 140, 0.1);
    border-radius: 50%;
    animation: radar-sweep 4s linear infinite;
}

.map-radar::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 50%;
    transform-origin: top center;
    background: linear-gradient(90deg, transparent 40%, rgba(82, 180, 140, 0.1));
    animation: radar-spin 4s linear infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes radar-spin {
    from {
        transform: translate(-50%, 0) rotate(0deg);
    }

    to {
        transform: translate(-50%, 0) rotate(360deg);
    }
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: #1c1f2c;
    border: 1px solid #2e3445;
    border-radius: 40px;
    padding: 14px 20px;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: 0.2s;
    font-family: 'Inter', sans-serif;
}

.form-group textarea {
    border-radius: 20px;
    min-height: 120px;
    resize: vertical;
}

.form-group input[type="file"] {
    padding: 10px;
    border-radius: 20px;
    cursor: pointer;
}

.form-group input:focus {
    border-color: #8f7ee0;
    box-shadow: 0 0 0 2px rgba(139, 110, 240, 0.3);
}

.auth-form .btn-primary {
    width: 100%;
    margin-top: 10px;
    justify-content: center;
}

.auth-container {

    background: #171c26;
    border: 1px solid #2b3243;
    border-radius: 40px;
    padding: 40px;
    width: 450px;
    max-width: 100%;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
}

.auth-logo {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #c8a8ff, #80b0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 20px;
}

.auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 1px dashed #2f354a;
    padding-bottom: 15px;
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 40px;
    background: #1c1f2c;
    border: 1px solid #2e3445;
    color: #9aa7c9;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.auth-tab.active {
    background: #5b4c9a;
    border-color: #7b68c0;
    color: white;
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    color: #7d88b0;
}

.auth-footer a {
    color: #9b8af0;
    text-decoration: none;
    cursor: pointer;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.price-tag {
    background: #2a2340;
    border: 1px solid #6b5390;
    border-radius: 40px;
    padding: 15px;
    margin: 20px 0;
    font-size: 0.95rem;
    color: #cfc0ff;
}

.price-tag i {
    color: #ffb347;
    margin-right: 8px;
}

.benefits {
    list-style: none;
    margin-top: 15px;
}

.benefits li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Map Tooltip */
.jvm-tooltip {
    background: #5b4c9a !important;
    border-radius: 4px !important;
    padding: 5px 10px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.8rem !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5) !important;
}

/* Table Action Buttons */
.btn-icon {
    background: rgba(43, 35, 64, 0.5);
    border: 1px solid #3b455f;
    color: #9b8af0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 2px;
}

.btn-icon:hover {
    background: #9b8af0;
    color: white;
    box-shadow: 0 0 10px rgba(155, 138, 240, 0.4);
    border-color: #9b8af0;
}

.btn-icon.delete:hover {
    background: #ff4d4d;
    border-color: #ff4d4d;
    box-shadow: 0 0 10px rgba(255, 77, 77, 0.4);
}

/* Version Badge */
.version-badge {
    background: #2b3245;
    color: #9b8af0;
    padding: 2px 12px;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
    min-width: 45px;
    text-align: center;
    box-shadow: none;
    border: 1px solid #3b455f;
}

.btn-danger {
    background: rgba(255, 77, 77, 0.1);
    border: 1px solid #ff4d4d;
    color: #ff4d4d;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: 0.2s;
}

.btn-danger:hover {
    background: #ff4d4d;
    color: white;
    box-shadow: 0 0 10px rgba(255, 77, 77, 0.3);
}

/* Lightbox Dark Background Override */
.sl-overlay {
    background: #080a0f !important;
}