:root {
    --black-primary: #111111;
    --black-secondary: #1A1A1A;
    --black-tertiary: #2D2D2D;
    --gold-primary: #D4AF37;
    --gold-secondary: #FFD700;
    --gold-dark: #B8860B;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --gray: #E0E0E0;
    --dark-gray: #444444;
    --text-maybe-sale: #fff;
    --bg-maybe-sell: #f16d00;
    --logo-filter: invert(1);
}
[data-theme="light"] {
    --black-primary: #D8DAE9;
    --black-secondary: #ffffff;
    --black-tertiary: #e8f6ff;
    --gold-primary: #116077;
    --gold-secondary: #3095b1;
    --gold-dark: #199695;
    --white: #111111;
    --light-gray: #2D2D2D;
    --gray: #444444;
    --dark-gray: #1A1A1A;
    --text-maybe-sale: #fff;
    --bg-maybe-sell: #f16d00;
    --logo-filter: invert(0);
}

[data-theme="blue"] {
    --black-primary: #0A1929;
    --black-secondary: #132F4C;
    --black-tertiary: #173A5E;
    --gold-primary: #69d4ef;
    --gold-secondary: #66B2FF;
    --gold-dark: #0077CC;
    --white: #E1F5FE;
    --light-gray: #B3E5FC;
    --gray: #81D4FA;
    --dark-gray: #4FC3F7;
    --text-maybe-sale: #fff;
    --bg-maybe-sell: #f16d00;
    --logo-filter: invert(0.5);
}
.theme-switcher {
    display: flex;
    justify-content: center;
}
.logo img
{
    filter: var(--logo-filter);
}
a
{
    color: var(--white);
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

.theme-btn {
    background: var(--gold-primary);
    color: var(--black-primary);
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.theme-btn:hover {
    background: var(--gold-secondary);
    transform: translateY(-2px);
}

.theme-menu {
    position: fixed;
    top: 100%;
    background: var(--black-tertiary);
    border-radius: 12px;
    /*padding: 10px;*/
    margin-top: 10px;
    min-width: 200px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    display: none;
}

.theme-menu.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.theme-option {
    padding: 5px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.theme-option:hover {
    background: var(--black-secondary);
}

.theme-option.active {
    background: var(--gold-primary);
    color: var(--black-primary);
}

.theme-preview {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--gray);
}

.theme-preview.dark { background: linear-gradient(135deg, #111111, #2D2D2D, #D4AF37); }
.theme-preview.light { background: linear-gradient(135deg, #FFFFFF, #E0E0E0, #B8860B); }
.theme-preview.blue { background: linear-gradient(135deg, #0A1929, #173A5E, #3399FF); }
.theme-preview.auto { 
    background: linear-gradient(135deg, #111111 50%, #FFFFFF 50%);
    position: relative;
}
.theme-preview.auto:after {
    content: 'A';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10px;
    font-weight: bold;
    color: var(--white);
}

.demo-content {
    max-width: 800px;
    margin: 80px auto;
    padding: 30px;
    background: var(--black-secondary);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

h1 {
    color: var(--gold-primary);
    text-align: center;
    margin-bottom: 30px;
}

.color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.color-card {
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    background: var(--black-tertiary);
}

.color-sample {
    height: 60px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.color-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.color-value {
    font-size: 12px;
    opacity: 0.8;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Адаптивность */
@media (max-width: 768px) {
    .theme-switcher {
        top: 10px;
        right: 10px;
    }
    
    .theme-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .demo-content {
        margin: 60px 10px;
        padding: 20px;
    }
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--black-primary);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Навигационная панель */
.navbar {
    background-color: var(--black-primary);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: background-color 0.3s ease;
}

.navbar.scrolled {
    background-color: var(--black-primary);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--gold-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover {
    color: var(--gold-primary);
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold-primary);
    transition: width 0.3s ease;
}

.nav-link:hover:after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: 'Inter', sans-serif;
}
.btn a
{   
    color: var(--gold-primary);
    text-decoration: none !important;
    transition: 0.3s;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    transition: 0.3s;
}

.btn-outline:hover {
    background-color: var(--gold-primary);
    color: var(--black-primary);
    transition: 0.3s;
}
.btn-outline:hover a
{
    color: var(--black-primary);
    transition: 0.3s;
}

.btn-gold, .btn-gold a {
    background-color: var(--gold-primary);
    color: var(--black-primary) !important;
    font-weight: 600;
    transition: 0.3s;
}

.btn-gold:hover, .btn-gold:hover a {
    background-color: var(--gold-secondary);
    transition: 0.3s;
}

/* Герой секция */
.hero {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: linear-gradient(
        135deg,
        rgba(17, 17, 17, 0.8) 0%,
        rgba(17, 17, 17, 0.4) 50%,
        rgba(17, 17, 17, 0.8) 100%
    );*/
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--gold-primary);
    margin-bottom: 20px;
    /*text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);*/
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: var(--light-gray);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-search, .hero-search form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
    animation: fadeInUp 1s ease-out 0.4s both;
}
#searchInput, #searchInputLk
{
    padding: 6px 15px;
    border: none;
    border-radius: 12px;
}
#searchInput:focus, #searchInputLk:focus
{
    border: none;
    outline: none
}
#suggestions
{
    position: fixed;
    background: var(--black-primary);
    padding: 10px 0;
    display: flex;
    flex-direction: column;
}
.suggestion-item
{
    padding: 5px 20px;
    transition: 0.3s;
}
.suggestion-item:hover
{
    cursor: pointer;
    background: var(--gold-primary);
    color: var(--black-primary);
    transition: 0.3s;
}
.hero-search a
{
    color: var(--black-primary);
    text-decoration: none;
}
.hero-search input {
    flex: 1;
    padding: 18px 25px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--dark-gray);
    border-left: solid 1px var(--gold-primary);
    border-top: solid 1px var(--gold-primary);
    border-bottom: solid 1px var(--gold-primary);
}

.hero-search input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}

.hero-search input::placeholder {
    color: var(--dark-gray);
}

.hero-search button {
    padding: 18px 30px;
    background-color: var(--gold-primary);
    color: var(--black-primary);
    border: none;
    border-radius: 0 4px 4px 0;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.hero-search button:hover {
    background-color: var(--gold-secondary);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--gold-primary);
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    color: var(--light-gray);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gold-primary);
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* Преимущества */
.features {
    padding: 30px;
    /*background-color: var(--black-secondary);*/
}

.section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--gold-primary);
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: var(--black-tertiary);
    padding: 25px 15px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 3rem;
    color: var(--gold-primary);
    margin-bottom: 25px;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.feature-description {
    color: var(--gray);
    line-height: 1.6;
}

/* Как это работает */
.how-it-works {
    padding: 80px 30px;
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)), url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') no-repeat center center/cover;
}

.steps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    text-align: center;
    width: 220px;
}

.step-number {
    width: 70px;
    height: 70px;
    background-color: var(--gold-primary);
    color: var(--black-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--white);
}

.step-description {
    color: var(--gray);
}

/* Тарифы */
.pricing {
    padding: 30px 30px;
    /*background-color: var(--black-secondary);*/
}

.pricing-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background-color: var(--black-tertiary);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.pricing-card.popular {
    border-color: var(--gold-primary);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-card.popular .pricing-header {
    border-bottom: 2px solid var(--gold-primary);
}

.pricing-header {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 2px solid var(--gold-primary);
}

.pricing-title {
    font-size: 1.5rem;
    color: var(--white);
}

.pricing-price {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--gold-primary);
}

.pricing-old-price {
    text-decoration: line-through;
    color: #ff1111;
    font-size: 1.2rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 6px 0;
    color: var(--gray);
    border-bottom: 1px solid var(--dark-gray);
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* Партнеры */
.partners {
    padding: 80px 30px;
    background-color: var(--black-primary);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

.partner-logo {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
    max-width: 100%;
    height: auto;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* FAQ */
.faq {
    padding: 30px;
    /*background-color: var(--black-secondary);*/
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid var(--dark-gray);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background-color: var(--black-tertiary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
}
.main .map-btn
{
    position: absolute;
    /*margin-left: 50%;
    margin-top: -120px;*/
    z-index: 9;
}
.main .map-btn a
{
    color: var(--black-primary);
    text-decoration: none;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
    background-color: var(--black-primary);
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 200px;
}

/* Призыв к действию */
.cta {
    padding: 100px 30px;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1573164713714-d95e436ab8d6?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') no-repeat center center/cover;
    text-align: center;
}
/*.cta p
{
    color: var(--black-primary);
}*/
.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--gold-primary);
    margin-bottom: 20px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Футер */
.footer {
    background-color: var(--black-tertiary);
    padding: 60px 30px 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--gold-primary);
    margin-bottom: 20px;
    display: block;
}

.footer-description {
    color: var(--gray);
    margin-bottom: 20px;
}

.footer-title {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
}

.footer-title:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--gold-primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--gold-primary);
}

.footer-bottom {
    text-align: center;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid var(--dark-gray);
    color: var(--gray);
}

/* Адаптивность */
@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px;
    }
    
    .hero {
        padding: 100px 20px 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-search {
        flex-direction: column;
    }
    
    .hero-search input {
        border-radius: 4px;
        margin-bottom: 10px;
    }
    
    .hero-search button {
        border-radius: 4px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .features, .how-it-works, .pricing, .partners, .faq, .cta {
        padding: 60px 20px;
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer {
        padding: 40px 20px 20px;
    }
}
/* Превью карты */
        .map-preview {
            height: 200px;
            background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://api.mapbox.com/styles/v1/mapbox/light-v10/static/auto/auto/400x200?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4M29iazA2Z2gycXA4N2pmbDZmangifQ.-g_vE53SD2WrJ6tFX7QHmA') no-repeat center center/cover;
            /*filter: grayscale(100%);*/
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .map-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .map-btn {
            background: var(--gold-primary);
            color: var(--black-primary);
            padding: 15px 30px;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 10px;
            transition: all 0.3s ease;
        }

        .map-btn:hover {
            background: var(--gold-secondary);
            transform: translateY(-2px);
        }


        /* Панель фильтров */
        .filters-panel {
            width: 320px;
            background-color: var(--black-primary);
            /*padding: 20px;*/
            overflow-y: auto;
            transition: 0.3s;
            box-shadow: inset -20px 0px 20px 0px #00000014;
            height: 100%;
        }
        .filters-panel.active
        {
            width: 0px;
            transition: 0.3s;
        }
        #map > ymaps, #map > ymaps > ymaps
        {
            width: 100% !important;
        }
        .switchDisplaySidebar
        {
            display: flex;
            width: 25px;
            height: 100px;
            background-color: var(--black-primary);
            position: relative;
            display: block;
            align-self: flex-start;
            margin-right: -30px;
            border-top-right-radius: 10px;
            border-bottom-right-radius: 10px;
            margin-top: 30vh;
        }
        .switchDisplaySidebar:hover
        {
            cursor: pointer;
        }
        .switchDisplaySidebar.active svg
        {
            transform: rotate(0deg);
            transition: transform 0.3s ease;
        }
        .switchDisplaySidebar svg
        {
            max-width: 100%;
            max-height: 100%;
            transform: rotate(180deg);
            transition: transform 0.3s ease;
        }
        .switchDisplaySidebar svg path
        {
            fill: var(--gold-primary);
        }
        .sidebarLeft
        {
            display: flex;
            z-index: 99;
            position: fixed;
            left: 0;
            top: 68px;
            height: 100%;
        }
        .sidebarLeft .btnFilter
        {
            padding: 0px 20px 20px 20px;
        }

        .filter-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding: 20px 20px 0px 20px;
        }

        .filter-title {
            font-size: 18px;
            font-weight: 600;
            color: var(--gold-primary);
        }

        .filter-group {
            margin-bottom: 20px;
            padding: 0px 20px;
        }

        .filter-group-title {
            font-size: 16px;
            font-weight: 500;
            color: var(--white);
            /*margin-bottom: 10px;*/
        }

        .filter-input:focus {
            outline: none;
            border-color: var(--gold-primary);
        }

        .filter-select {
            width: 100%;
            padding: 10px 15px;
            background-color: var(--black-secondary);
            border: 1px solid var(--dark-gray);
            border-radius: 4px;
            color: var(--white);
            margin-bottom: 10px;
            cursor: pointer;
        }

        .filter-input::placeholder
        {
            color: var(--white);
        }

        .filter-select:focus {
            outline: none;
            border-color: var(--gold-primary);
        }

        .filter-checkbox {
            display: flex;
            align-items: center;
            margin-bottom: 8px;
            cursor: pointer;
        }

        .filter-checkbox input {
            margin-right: 10px;
            accent-color: var(--gold-primary);
        }

        .filter-checkbox:hover {
            color: var(--gold-primary);
        }

        .filter-range {
            display: flex;
            gap: 10px;
            align-items: center;
        }

        .filter-range input {
            flex: 1;
        }

        /* Основной контент */
        .main-content {
            flex: 1;
            padding: 0px;
            /*background-color: var(--black-secondary);*/
            overflow-y: auto;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .content-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }

        .results-title {
            font-family: 'Playfair Display', serif;
            font-size: 24px;
            color: var(--gold-primary);
        }

        .results-count {
            color: var(--gray);
            font-size: 14px;
            background: var(--black-tertiary);
            padding: 5px 12px;
            border-radius: 15px;
        }

        .view-controls {
            display: flex;
            gap: 10px;
        }

        .view-btn {
            background: none;
            border: 1px solid var(--dark-gray);
            color: var(--gray);
            padding: 8px 15px;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .view-btn.active {
            border-color: var(--gold-primary);
            color: var(--gold-primary);
            background-color: rgba(212, 175, 55, 0.1);
        }

        .view-btn:hover {
            border-color: var(--gold-primary);
            color: var(--gold-primary);
        }

        /* Список карточек */
        .declarations-list {
            display: grid;
            gap: 10px;
        }

        .declaration-card {
            /*background-color: var(--black-tertiary);*/
            border-radius: 12px;
            padding: 10px;
            /*border: 1px solid var(--dark-gray);*/
            transition: all 0.3s ease;
            box-shadow: 0px 0px 20px rgb(0 0 0 / 15%);
        }

        .declaration-card:hover {
            /*border-color: var(--gold-primary);*/
            transform: translateY(-2px);
            box-shadow: 0 0px 0px rgb(0 0 0 / 0%);
        }

        .card-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 5px;
        }

        .declaration-number {
            font-family: 'Playfair Display', serif;
            font-size: 18px;
            color: var(--gold-primary);
            font-weight: 700;
        }

        .declaration-date {
            color: var(--gray);
            font-size: 14px;
        }

        .card-body {
            margin-bottom: 5px;
            width: 100%;
        }

        .product-name {
            font-size: 14px;
            font-weight: 600;
            color: var(--white);
            /*margin-bottom: 5px;*/
            line-height: 1.4;
        }

        .manufacturer-info {
            color: var(--gray);
            margin-bottom: 5px;
            font-size: 14px;
        }

        .manufacturer-info strong {
            color: var(--light-gray);
        }

        .card-details {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 15px;
            margin-bottom: 5px;
            justify-content: space-between;
            justify-items: end;
        }

        .detail-item {
            display: flex;
            flex-direction: column;
        }

        .detail-label {
            font-size: 12px;
            color: var(--gray);
            margin-bottom: 4px;
        }

        .detail-value {
            font-size: 14px;
            color: var(--white);
            font-weight: 500;
        }

        .card-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 5px;
            border-top: 1px solid var(--dark-gray);
        }

        .status-badge {
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 500;
        }

        .status-active {
            background-color: rgba(46, 213, 115, 0.2);
            color: var(--success-color);
        }

        .status-expired {
            background-color: rgba(255, 71, 87, 0.2);
            color: var(--error-color);
        }

        .status-pending {
            background-color: rgba(255, 165, 2, 0.2);
            color: var(--warning-color);
        }

        .card-actions {
            display: flex;
            gap: 10px;
        }

        .action-btn {
            background: none;
            border: 1px solid var(--dark-gray);
            color: var(--gray);
            padding: 5px 10px;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 14px;
        }

        .action-btn:hover {
            border-color: var(--gold-primary);
            color: var(--gold-primary);
        }

        .action-btn.primary {
            background-color: var(--gold-primary);
            color: var(--black-primary);
            border-color: var(--gold-primary);
        }

        .action-btn.primary:hover {
            background-color: var(--gold-secondary);
        }

        /* Пагинация */
        .pagination {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 40px;
            flex-direction: column;
            align-items: center;
        }

        .page-btn {
            background: none;
            border: 1px solid var(--dark-gray);
            color: var(--gray);
            padding: 8px 15px;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .page-btn.active {
            border-color: var(--gold-primary);
            color: var(--gold-primary);
            background-color: rgba(212, 175, 55, 0.1);
        }

        .page-btn:hover {
            border-color: var(--gold-primary);
            color: var(--gold-primary);
        }

        /* Адаптивность */
        @media (max-width: 1200px) {
            .filters-panel {
                width: 280px;
            }
            
            .card-details {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 992px) {
            .filters-panel {
                height: 100vh;
                z-index: 900;
                padding-bottom: 60px;
            }
            .sidebarLeft
            {
                top: 64px;
            }
            .container {
                flex-direction: column;
            }
        }

        @media (max-width: 768px) {
            .navbar {
                padding: 15px;
            }
            
            .content-header {
                flex-direction: column;
                gap: 15px;
                align-items: flex-start;
            }
            
            .view-controls {
                width: 100%;
                justify-content: center;
            }
            
            .card-header {
                flex-direction: column;
                gap: 10px;
            }
            
            .card-footer {
                flex-direction: column;
                gap: 15px;
                align-items: flex-start;
            }
            
            .card-actions {
                width: 100%;
                justify-content: space-between;
            }
        }

        @media (max-width: 576px) {
            .main-content {
                padding: 0px;
            }
            
            .declaration-card {
                padding: 10px;
            }
            
            .action-btn {
                padding: 8px 12px;
                font-size: 12px;
            }
        }

        /* Анимации */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .fade-in {
            animation: fadeIn 0.3s ease;
        }
        input[type="date"]
        {
            width: 0;
        }

        /* Панель фильтров */

        .filter-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .filter-title {
            font-size: 18px;
            font-weight: 600;
            color: var(--gold-primary);
        }

        .filter-group {
            margin-bottom: 10px;
        }

        .filter-input {
            width: 100%;
            padding: 10px 15px;
            background-color: var(--black-secondary);
            border: 1px solid var(--dark-gray);
            border-radius: 4px;
            color: var(--white);
            /*margin-bottom: 10px;*/
        }

        .filter-input:focus {
            outline: none;
            border-color: var(--gold-primary);
        }

        .filter-select {
            width: 100%;
            padding: 10px 15px;
            background-color: var(--black-secondary);
            border: 1px solid var(--dark-gray);
            border-radius: 4px;
            color: var(--white);
            margin-bottom: 10px;
            cursor: pointer;
        }

        .filter-select:focus {
            outline: none;
            border-color: var(--gold-primary);
        }

        .filter-checkbox {
            display: flex;
            align-items: center;
            margin-bottom: 0px;
            cursor: pointer;
        }

        .filter-checkbox input {
            margin-right: 10px;
            accent-color: var(--gold-primary);
        }

        .filter-checkbox:hover {
            color: var(--gold-primary);
        }

        .filter-range {
            display: flex;
            gap: 10px;
            align-items: center;
        }

        .filter-range input {
            flex: 1;
        }

        .search-bar {
            padding: 15px 20px;
            background-color: var(--black-secondary);
            display: flex;
            gap: 10px;
            display: none;
        }

        .search-input {
            flex: 1;
            padding: 12px 15px;
            background-color: var(--black-tertiary);
            border: 1px solid var(--dark-gray);
            border-radius: 4px;
            color: var(--white);
        }

        .search-input:focus {
            outline: none;
            border-color: var(--gold-primary);
        }

        .map-container {
            flex: 1;
            position: relative;
        }

        #map {
            width: 100%;
            height: 100%;
        }
        .main #map
        {
            filter: brightness(0.6) grayscale(1);
        }

        /* Карточка товара */
        .product-card {
            position: absolute;
            right: 20px;
            top: 20px;
            width: 350px;
            background-color: var(--black-tertiary);
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
            z-index: 900;
            display: none;
            max-height: 500px;
            overflow-y: scroll;
            overflow-x: unset;
            transition: 0.3s;
        }
        .lk-product-card
        {
            max-height: 100vh;
            height: calc(100vh - 65px);
            position: fixed;
            right: -100vw;
            top: 65px;
            display: block;
            transition: 0.3s;
        }
        .product-card-header {
            background: linear-gradient(to right, var(--gold-primary), var(--gold-dark));
            color: var(--black-primary);
            padding: 10px;
            border-top-left-radius: 8px;
            border-top-right-radius: 8px;
            font-weight: 600;
            font-size: 16px;
            line-height: 22px;
            display: flex;
            position: sticky;
            left: 0;
            top: 0;
        }

        .product-card-body {
            padding: 10px;
        }
        .blockRelatedProd
        {
            max-height: 40vh;
            overflow-y: scroll;
        }
        .product-field {
            margin-bottom: 5px;
        }

        .product-field-title {
            font-size: 12px;
            color: var(--gold-primary);
            margin-bottom: 0px;
        }

        .product-field-value {
            font-size: 12px;
        }
        .product-field-status
        {
            font-size: 10px;
            font-family: 'Tilda Sans', sans-serif;
            font-weight: 400;
            text-align: center;
            /* border: solid 1px #000; */
            border-radius: 5px;
            padding: 5px;
            background-color: var(--bg-maybe-sell);
            text-transform: uppercase;
            color: var(--text-maybe-sale);
        }
        .show-phone {
            background-color: var(--gold-primary);
            color: var(--black-primary);
            padding: 8px 12px;
            border-radius: 4px;
            font-weight: 500;
            cursor: pointer;
            border: none;
            width: 100%;
            margin-top: 10px;
            transition: background-color 0.3s;
        }

        .show-phone:hover {
            background-color: var(--gold-secondary);
        }

        .product-actions {
            display: flex;
            justify-content: space-between;
            margin-top: 10px;
            margin-bottom: 10px;
        }

        .action-btn {
            background: none;
            border: none;
            color: var(--gold-primary);
            cursor: pointer;
            font-size: 12px;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .action-btn:hover {
            color: var(--black-primary);
        }

        /* Модальные окна */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            z-index: 2000;
            justify-content: center;
            align-items: center;
        }

        .modal-content {
            background-color: var(--black-tertiary);
            border-radius: 8px;
            width: 90%;
            max-width: 500px;
            padding: 20px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
            position: relative;
        }

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 1px solid var(--dark-gray);
        }

        .modal-title {
            font-size: 20px;
            color: var(--gold-primary);
        }

        .close-modal {
            background: none;
            border: none;
            color: var(--white);
            font-size: 24px;
            cursor: pointer;
        }

        .form-group {
            margin-bottom: 15px;
        }

        .form-label {
            display: block;
            margin-bottom: 5px;
            color: var(--gold-primary);
        }

        .form-input {
            width: 100%;
            padding: 10px 15px;
            background-color: var(--black-secondary);
            border: 1px solid var(--dark-gray);
            border-radius: 4px;
            color: var(--white);
        }

        .form-input:read-only {
            background-color: var(--black-secondary);
            color: var(--gray);
        }

        .nds-container {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        /* Тарифы */
        .tariff-badge {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background-color: var(--gold-primary);
            color: var(--black-primary);
            padding: 8px 15px;
            border-radius: 20px;
            font-weight: 600;
            font-size: 14px;
            z-index: 800;
        }

        /* Адаптивность */
        @media (max-width: 992px) {
            
            .product-card {
                width: 300px;
            }
            
            .menu-toggle {
                display: block;
            }
        }

        /* Анимации */
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }

        .pulse {
            animation: pulse 2s infinite;
        }

        /* Защита от копирования */
        .protection-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 10000;
            pointer-events: none;
            background: transparent;
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s;
        }

        .protection-message {
            background-color: rgba(212, 175, 55, 0.9);
            color: var(--black-primary);
            padding: 20px 30px;
            border-radius: 8px;
            font-weight: 600;
            transform: translateY(-100px);
            transition: transform 0.3s;
        }

        .protection-overlay.active {
            pointer-events: all;
            opacity: 1;
        }

        .protection-overlay.active .protection-message {
            transform: translateY(0);
        }

        /* Новые стили для поиска и результатов */
    .search-results-container {
        /*position: absolute;*/
        left: 340px;
        top: 70px;
        width: 400px;
        background: var(--black-tertiary);
        /*border-radius: 8px;*/
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
        z-index: 950;
        height: calc(100vh - 90px); /* Высота как у панели фильтров */
        max-height: calc(100vh - 90px);
        overflow-y: auto;
        overflow-x: hidden;
        display: none;
        transform: translateX(-20px); /* Начальное положение для анимации */
        opacity: 0;
        transition: all 0.3s ease-out;
        border-right: 3px solid var(--gold-primary);
    }

    .search-results-container.show {
        display: block;
        transform: translateX(0);
        opacity: 1;
    }

    .search-results-header {
        padding: 15px;
        border-bottom: 1px solid var(--dark-gray);
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: var(--black-secondary);
        /*border-radius: 8px 8px 0 0;*/
    }

    .search-results-title {
        font-weight: 600;
        color: var(--gold-primary);
        font-size: 16px;
    }

    .search-results-count {
        color: var(--gray);
        font-size: 14px;
        background: var(--black-primary);
        padding: 4px 8px;
        border-radius: 12px;
    }

    .search-results-content {
        padding: 10px 0;
    }

    .search-result-item {
        padding: 12px 15px;
        border-bottom: 1px solid var(--dark-gray);
        cursor: pointer;
        transition: all 0.2s ease;
        position: relative;
    }

    .search-result-item:hover {
        background-color: var(--black-secondary);
        transform: translateX(5px);
    }

    .search-result-item:last-child {
        border-bottom: none;
    }

    .result-title {
        font-weight: 600;
        color: var(--gold-primary);
        margin-bottom: 6px;
        font-size: 14px;
        line-height: 1.3;
    }

    .result-details {
        color: var(--gray);
        font-size: 12px;
        line-height: 1.4;
    }

    .result-inn {
        color: var(--light-gray);
        font-weight: 500;
        background: var(--black-secondary);
        padding: 2px 6px;
        border-radius: 4px;
        display: inline-block;
        margin-top: 4px;
    }

    .result-number {
        color: var(--white);
        font-size: 11px;
        opacity: 0.8;
        margin-top: 4px;
        display: block;
    }

    .no-results {
        padding: 30px 20px;
        text-align: center;
        color: var(--gray);
    }

    .no-results i {
        font-size: 24px;
        color: var(--gold-primary);
        margin-bottom: 10px;
        display: block;
    }

    .search-loading {
        padding: 30px 20px;
        text-align: center;
        color: var(--gold-primary);
    }

    .search-loading i {
        animation: spin 1s linear infinite;
    }

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

    /* Иконка закрытия */
    .close-results {
        background: none;
        border: none;
        color: var(--gray);
        cursor: pointer;
        padding: 5px;
        border-radius: 4px;
        transition: color 0.2s ease;
    }
    .close-results svg
    {
        width: 15px;
        height: 15px;
    }

    .close-results:hover {
        color: var(--gold-primary);
    }

    /* Полоса прокрутки */
    .search-results-container::-webkit-scrollbar {
        width: 6px;
    }

    .search-results-container::-webkit-scrollbar-track {
        background: var(--black-secondary);
        border-radius: 3px;
    }

    .search-results-container::-webkit-scrollbar-thumb {
        background: var(--gold-primary);
        border-radius: 3px;
    }

    .search-results-container::-webkit-scrollbar-thumb:hover {
        background: var(--gold-secondary);
    }

    /* Блок комментариев */
        .comments-section {
            margin-top: 10px;
            padding-top: 15px;
            border-top: 2px solid var(--gold-primary);
        }

        .comments-title {
            font-size: 16px;
            color: var(--gold-primary);
            margin-bottom: 10px;
            font-weight: 600;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            align-items: center;
        }

        .comment-actions {
            display: flex;
            gap: 10px;
        }

        .comment-btn,.comment-save-btn {
            background-color: var(--black-secondary);
            color: var(--gold-primary);
            border: 1px solid var(--gold-primary);
            padding: 5px 10px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 12px;
            margin: auto;
            width: fit-content;
            transition: all 0.3s;
        }

        .comment-btn:hover, .comment-save-btn:hover {
            background-color: var(--gold-primary);
            color: var(--black-primary);
        }

        .comment-text {
            background-color: var(--black-secondary);
            padding: 10px;
            border-radius: 6px;
            font-size: 12px;
            line-height: 1.5;
            margin-bottom: 10px;
        }

        .comment-edit-textarea {
            width: 100%;
            min-height: 100px;
            background-color: var(--black-secondary);
            border: 1px solid var(--gold-primary);
            border-radius: 6px;
            padding: 12px;
            color: var(--white);
            font-family: 'Inter', sans-serif;
            resize: vertical;
            margin-bottom: 10px;
        }
        #comment-edit-container
        {
            display: flex;
            flex-direction: column;
        }
        .comment-edit-textarea:focus {
            outline: none;
            border-color: var(--gold-secondary);
        }

        /*.comment-save-btn {
            background-color: var(--gold-primary);
            color: var(--black-primary);
            border: none;
            padding: 8px 15px;
            border-radius: 4px;
            cursor: pointer;
            font-weight: 500;
            transition: background-color 0.3s;
        }
*//*
        .comment-save-btn:hover {
            background-color: var(--gold-secondary);
        }*/

        /* Сопутствующие товары */
        .related-products {
            margin-top: 0px;
            padding-top: 5px;
            border-top: 2px solid var(--gold-primary);
        }

        .related-title {
            font-size: 16px;
            color: var(--gold-primary);
            margin-bottom: 5px;
            font-weight: 600;
        }

        .related-product {
            padding: 5px;
            margin-bottom: 5px;
            background-color: var(--black-secondary);
            border-radius: 6px;
            transition: background-color 0.3s;
        }

        .related-product:hover {
            background-color: rgba(212, 175, 55, 0.1);
        }

        .related-product a {
            text-decoration: none;
            color: inherit;
            display: block;
        }

        .related-product-name {
            font-weight: 400;
            color: var(--gold-secondary);
            margin-bottom: 0px;
            font-size: 14px;
        }

        .related-product-details {
            font-size: 12px;
            color: var(--gray);
        }

        /* Анимации */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .fade-in {
            animation: fadeIn 0.3s ease;
        }

    /* Мобильная версия результатов поиска */
    @media (max-width: 1200px) {
        .search-results-container {
            left: 300px;
            width: 350px;
            height: calc(100vh - 90px);
        }
    }

    @media (max-width: 992px) {
        .search-results-container {
            position: fixed;
            top: 70px;
            left: -100%;
            right: auto;
            width: 320px;
            height: calc(100vh - 70px);
            max-height: calc(100vh - 70px);
            border-radius: 0;
            border-left: none;
            border-right: 3px solid var(--gold-primary);
            transform: translateX(0);
        }

        .search-results-container.show {
            left: 0;
            transform: translateX(0);
        }
    }

    @media (max-width: 576px) {
        .search-results-container {
            width: 280px;
            height: calc(100vh - 70px);
            max-height: calc(100vh - 70px);
        }
        .switchDisplaySidebar
        {
            margin-top: 0vh;
        }
        .search-result-item {
            padding: 10px 12px;
        }

        .result-title {
            font-size: 13px;
        }

        .result-details {
            font-size: 11px;
        }
    }
.closePopup
{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 30px;
    font-size: 18px;
    color: var(--gold-dark);
    font-weight: 600;
    /* border: solid 1px; */
    border-radius: 4px;
    background-color: var(--white);
}
.closePopup:hover
{
    cursor: pointer;
}



.custom-select {
    position: relative;
    width: 100%;
}

.select-trigger {
    background-color: var(--black-secondary);
    border: 1px solid var(--dark-gray);
    border-radius: 4px;
    padding: 10PX 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    font-size: 13px;
    color: var(--white);
}

.select-trigger:hover {
    /*border-color: #667eea;
    background: #edf2f7;*/
}

.select-trigger::after {
    content: '▼';
    font-size: 12px;
    transition: transform 0.3s ease;
    color: #667eea;
}

.select-trigger.active::after {
    transform: rotate(180deg);
}

.select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--black-secondary);
    border: 1px solid var(--dark-gray);
    border-radius: 4px;
    margin-top: 5px;
    padding: 10px;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.select-options.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.option-item {
    /*padding: 12px 15px;*/
    cursor: pointer;
    display: flex;
    align-items: center;
    border-radius: 8px;
    transition: background 0.2s ease;
    margin-bottom: 2px;
    color: var(--white);
}

/*.option-item:hover {
    background: #272727;
}*/

.option-item:last-child {
    margin-bottom: 0;
}

.custom-checkbox {
    position: relative;
    margin-right: 5px;
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 15px;
    width: 15px;
    background-color: var(--dark-gray);
    border: 0px solid var(--dark-gray);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: #d4af37;
    border-color: #d4af37;
}

.checkmark::after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 2px;
    height: 7px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox input:checked ~ .checkmark::after {
    display: block;
}

.selected-count {
    background: #667eea;
    color: white;
    border-radius: 10px;
    padding: 2px 8px;
    font-size: 12px;
    margin-left: 8px;
    min-width: 20px;
    text-align: center;
    display: none;
}

.apply-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    font-size: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 10px;
}

.apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.apply-btn:active {
    transform: translateY(0);
}

.selected-values {
    margin-top: 20px;
    padding: 15px;
    background: #f7fafc;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
}

.selected-values h4 {
    color: #2d3748;
    margin-bottom: 10px;
    font-size: 14px;
}

.selected-list {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.5;
}
.cardHead
{
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.nameDec
{
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.nameDec span
{
    font-size: 10px;
}
#mapImg
{
    background-image: url('/maps.JPG');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(1) blur(1px);
    transition: 1s;
}
.map-overlay.main:hover #mapImg
{
    filter: grayscale(0) blur(0px);
    transition: 1s;
}

/* Хлебные крошки */
        .breadcrumbs {
            padding: 20px 30px;
            background-color: var(--black-secondary);
            font-size: 14px;
        }

        .breadcrumbs a {
            color: var(--gray);
            text-decoration: none;
        }

        .breadcrumbs a:hover {
            color: var(--gold-primary);
        }

        .breadcrumbs span {
            color: var(--gold-primary);
            margin: 0 10px;
        }

        /* Основной контент */
        .declaration-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 30px;
        }

        /* Заголовок декларации */
        .declaration-header {
            background: linear-gradient(135deg, var(--black-tertiary), var(--black-secondary));
            padding: 10px;
            border-radius: 12px;
            margin-bottom: 15px;
            border-left: 4px solid var(--gold-primary);
        }

        .declaration-number {
            font-family: 'Playfair Display', serif;
            font-size: 20px;
            color: var(--gold-primary);
            /*margin-bottom: 10px;*/
        }

        .declaration-title {
            font-size: 14px;
            font-weight: 400;
            color: var(--white);
            margin-bottom: 10px;
            opacity: 0.9;
        }

        .declaration-meta {
            display: flex;
            gap: 25px;
            width: 50%;
            /*margin-bottom: 20px;*/
            justify-content: space-between;
        }

        .meta-item {
            display: flex;
            flex-direction: column;
        }

        .meta-label {
            font-size: 12px;
            color: var(--gray);
            margin-bottom: 5px;
        }

        .meta-value {
            font-size: 12px;
            color: var(--white);
            font-weight: 400;
        }

        .status-badge {
            display: inline-block;
            padding: 6px 15px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 500;
        }

        .status-active {
            background-color: rgba(46, 213, 115, 0.2);
            color: var(--success-color);
        }

        /* Действия */
        .declaration-actions {
            /*display: flex;
            gap: 15px;
            flex-wrap: wrap;
            justify-content: flex-end;
            position: fixed;
            right: 20px;
            top: 160px;
            flex-direction: column;*/
        }

        /* Основная информация */
        .info-section {
            background-color: var(--black-tertiary);
            border-radius: 12px;
            padding: 10px;
            margin-bottom: 15px;
        }

        .section-title-dec {
            font-family: 'Playfair Display', serif;
            font-size: 22px;
            color: var(--gold-primary);
            margin-bottom: 10px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--dark-gray);
        }
        h3.section-title-dec
        {
            font-size: 18px;
        }
        .marg-bot-20
        {
            margin-bottom: 10px;
        }
        .disp-fl
        {
            display: flex;
            justify-content: space-between;
        }
        .moreContainer
        {
            height: 0px;
            overflow: hidden;
            transition: 0.3s;
        }
        .moreContainer.active
        {
            height: 1000px;
            overflow: unset;
            max-height: 400px;
            overflow-x: unset;
            overflow-y: scroll;
            transition: 0.3s;
        }

        .info-grid {
            /*display: grid;
            grid-template-columns: repeat(auto-fit, minmax(40%, 1fr));*/
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: space-between;
        }

        .info-group {
            margin-bottom: 10px;
        }

        .info-label {
            font-size: 12px;
            color: var(--gold-primary);
            /*margin-bottom: 8px;*/
            /*text-transform: uppercase;*/
            letter-spacing: 0.5px;
        }

        .info-value {
            font-size: 16px;
            color: var(--white);
            font-weight: 500;
            line-height: 1.5;
        }

        .info-value-large {
            font-size: 18px;
            font-weight: 400;
        }

        /* Производитель */
        .manufacturer-card {
            /*background-color: var(--black-secondary);*/
            padding: 0px;
            border-radius: 8px;
            /*margin-bottom: 15px;*/
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(30%, 1fr));
            gap: 5px;
        }

        .manufacturer-name {
            font-size: 18px;
            font-weight: 600;
            color: var(--white);
            margin-bottom: 10px;
        }

        .manufacturer-details {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 15px;
        }

        /* Контакты */
        .contact-item {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 10px;
        }

        .contact-icon {
            color: var(--gold-primary);
            width: 20px;
        }

        /* Техническая информация */
        .tech-specs {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
        }

        .spec-item {
            background-color: var(--black-secondary);
            padding: 15px;
            border-radius: 8px;
        }

        .spec-label {
            font-size: 12px;
            color: var(--gray);
            margin-bottom: 5px;
        }

        .spec-value {
            font-size: 14px;
            color: var(--white);
        }

        /* Документы */
        .documents-list {
            display: grid;
            gap: 15px;
        }

        .document-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 15px;
            background-color: var(--black-secondary);
            border-radius: 8px;
            transition: all 0.3s ease;
        }

        .document-item:hover {
            background-color: var(--black-tertiary);
        }

        .document-info {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .document-icon {
            color: var(--gold-primary);
            font-size: 20px;
        }

        .document-name {
            font-weight: 500;
            color: var(--white);
        }

        .document-download {
            background: var(--gold-primary);
            color: var(--black-primary);
            padding: 8px 15px;
            border-radius: 6px;
            text-decoration: none;
            font-weight: 500;
            transition: background-color 0.3s ease;
        }

        .document-download:hover {
            background: var(--gold-secondary);
        }

        /* История изменений */
        .history-timeline {
            position: relative;
            padding-left: 30px;
        }

        .history-timeline::before {
            content: '';
            position: absolute;
            left: 10px;
            top: 0;
            bottom: 0;
            width: 2px;
            background-color: var(--dark-gray);
        }

        .timeline-item {
            position: relative;
            margin-bottom: 25px;
        }

        .timeline-item::before {
            content: '';
            position: absolute;
            left: -30px;
            top: 8px;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: var(--gold-primary);
            border: 3px solid var(--black-tertiary);
        }

        .timeline-date {
            font-size: 12px;
            color: var(--gray);
            margin-bottom: 5px;
        }

        .timeline-content {
            background-color: var(--black-secondary);
            padding: 15px;
            border-radius: 8px;
        }

        /* Кнопки действий */
        .action-buttons {
            display: flex;
            gap: 15px;
            margin-top: 30px;
            flex-wrap: wrap;
        }

        .topInfo
        {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            align-items: flex-end;
        }

        .secondStroke .max-w-30
        {
            max-width: 30%;
        }
        .thirdStroke .max-w-30
        {
            max-width: 23%;
        }
        .secondStroke, .thirdStroke
        {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            width: 100%;
        }
        .thirdStroke
        {
            margin-top: -100px;
        }
        .contactInfo
        {
            width: 100%;
            flex-wrap: nowrap;
        }

        .labs-card
        {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(30%, 1fr));
            padding: 10px;
            background: var(--black-secondary);
            border-radius: 4px;
            border: 1px solid var(--black-secondary);
            gap: 15px;
        }

        /* Адаптивность */
        @media (max-width: 768px) {
            .declaration-container {
                padding: 20px;
            }
            
            .declaration-header {
                padding: 10px;
            }
            
            .declaration-number {
                font-size: 24px;
            }
            
            .declaration-meta {
                grid-template-columns: 1fr;
                flex-direction: column;
                margin-bottom: 10px;
                gap: 5px;
            }
            .meta-label
            {
                margin-bottom: 0px;
            }
            .cardHead
            {
                flex-direction: column;
                gap: 10px;
            }
            .card-actions
            {
                gap: 0px;
            }
            .secondStroke, .thirdStroke
            {
                flex-direction: column;
                justify-content: space-between;
                width: 100%;
            }
            .labs-card
            {
                grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
            }
            .manufacturer-card
            {
                grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
            }
            .secondStroke .max-w-30
            {
                max-width: 100%;
            }
            .thirdStroke
            {
                margin-top: 0px;
            }
            .declaration-header .meta-item
            {
                gap: 0px;
            }
            .topInfo
            {
                flex-direction: column;
                justify-content: space-between;
                align-items: flex-start;
            }
            .declaration-actions {
                flex-direction: column;
                display: flex;
                width: 100%;
                gap: 5px;
            }
            
            .info-grid {
                grid-template-columns: 1fr;
            }
            
            .manufacturer-details {
                grid-template-columns: 1fr;
            }
            
            .tech-specs {
                grid-template-columns: 1fr;
            }
            
            .document-item {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }
            
            .action-buttons {
                flex-direction: column;
            }
        }

        .search_result
        {
            height: 100%;
        }

        @media (max-width: 576px) {
            /*.declaration-actions
            {
                display: none;
            }*/
            .navbar {
                padding: 15px;
            }
            
            .breadcrumbs {
                padding: 15px;
            }
            
            .declaration-header {
                padding: 15px;
            }
            
            .info-section {
                padding: 20px;
            }
            .search_result
            {
                padding: 10px 0;
                position: fixed;
                bottom: 0px;
                left: 0px;
                width: 100vw;
                height: 40vh;
                background: #fff;
                z-index: 999999999999999999999999999999999999999999999999999999999;
                display: block;
                padding: 0px;
                height: 0vh;
                transition: 0.3s;
            }
            .search_result.active
            {
                height: calc(100vh - 70px);
                transition: 0.3s;
            }
            .search-results-container
            {
                width: 100%;
                position: relative;
                left: 0px;
                opacity: 1;
                display: block;
                top: 0px;
                background: var(--black-primary);
            }
        }

        /* Утилиты */
        .mb-20 {
            margin-bottom: 20px;
        }

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

        .text-center {
            text-align: center;
        }

        .hidden {
            display: none;
        }

        /* Анимации */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .fade-in {
            animation: fadeIn 0.5s ease;
        }


        .declaration-header .meta-item
        {
            display: flex;
            gap: 5px;
            flex-direction: column;
        }
        .decOne
        {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            gap: 100px;
            margin-bottom: 20px;
        }
        .datadectop
        {
            width: 40%;
            min-width: 250px;
        }
        .declaration-title, .info-value
        {
            display: flex;
            flex-direction: column;
        }
        .declaration-title span, .info-value span
        {
            font: 12px sans-serif;
            opacity: 0.7;
        }
        .adressLabel, .tnvedLabel
        {
            display: flex;
            flex-direction: column !important;
        }
        .decManuf
        {
            margin-bottom: 10px;
        }
        .info-group .meta-item
        {
            flex-direction: row;
            gap: 5px;
        }
        .info-group .meta-item .meta-label
        {
            color: var(--gold-primary);
        }
        .info-grid .titles
        {
            width: 80%;
        }
        .typeInfo .info-group
        {
            margin-bottom: 0px;
        }
        .info-grid .titles .info-innaia, .info-grid .info-value
        {
            font-size: 14px;
        }
        .labs-card .info-group
        {
            margin-bottom: 0px;
        }
        .labs-card .info-value
        {
            font-size: 12px;
        }
        .labsList
        {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .labs-card .info-group .info-label
        {
            color: var(--white);
            opacity: 0.8;
        }
        .labsList .labs-card .info-group:first-child .info-label
        {
            font-size: 14px;
            color: var(--gold-primary);
            opacity: 1;
        }

        /**about
        /* Заголовок страницы */
        .page-header {
            padding: 60px 30px;
            text-align: center;
            background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') no-repeat center center/cover;
        }

        .page-title {
            font-family: 'Playfair Display', serif;
            font-size: 42px;
            color: var(--gold-primary);
            margin-bottom: 20px;
        }

        .page-subtitle {
            font-size: 18px;
            color: var(--light-gray);
            max-width: 600px;
            margin: 0 auto;
        }

        /* Контент страницы */
        .page-content {
            padding: 80px 0;
        }

        .container {
            margin: 0 auto;
        }
        .search_cont
        {
            display: flex;
            height: 100%;
        }
        .status-attention
        {
            border: solid 1px #fe8d59;
        }
        .status
        {
            display: flex;
            gap: 20px   ;
        }
        .section {
            margin-bottom: 80px;
        }

        .section-title {
            font-family: 'Playfair Display', serif;
            font-size: 36px;
            color: var(--gold-primary);
            margin-bottom: 40px;
            text-align: center;
        }

        .section-subtitle {
            font-size: 20px;
            color: var(--light-gray);
            margin-bottom: 30px;
            text-align: center;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
        }

        /* Преимущества */
        .benefits-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-bottom: 60px;
        }

        .benefit-card {
            background-color: var(--black-tertiary);
            padding: 30px;
            border-radius: 8px;
            text-align: center;
            transition: transform 0.3s;
        }

        .benefit-card:hover {
            transform: translateY(-5px);
        }

        .benefit-icon {
            font-size: 50px;
            color: var(--gold-primary);
            margin-bottom: 20px;
        }

        .benefit-title {
            font-size: 20px;
            margin-bottom: 15px;
            color: var(--white);
        }

        .benefit-description {
            color: var(--gray);
        }

        /* Как это работает */
        .how-works {
            background-color: var(--black-secondary);
            padding: 60px 0;
        }

        .steps {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 40px;
            max-width: 1000px;
            margin: 0 auto;
        }

        .step {
            text-align: center;
            width: 220px;
            position: relative;
        }

        .step-number {
            width: 70px;
            height: 70px;
            background-color: var(--gold-primary);
            color: var(--black-primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            font-weight: 700;
            margin: 0 auto 20px;
            position: relative;
            z-index: 2;
        }

        .step-connector {
            position: absolute;
            top: 35px;
            left: calc(100% + 10px);
            width: 40px;
            height: 2px;
            background-color: var(--gold-primary);
            z-index: 1;
        }

        .step-title {
            font-size: 18px;
            margin-bottom: 10px;
            color: var(--white);
        }

        .step-description {
            color: var(--gray);
            font-size: 14px;
        }

        /* Инфографика */
        .infographic {
            background-color: var(--black-primary);
            padding: 60px 0;
        }

        .infographic-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(20%, 1fr));
            gap: 30px;
        }

        .infographic-item {
            text-align: center;
            padding: 30px;
        }

        .infographic-number {
            font-family: 'Playfair Display', serif;
            font-size: 60px;
            color: var(--gold-primary);
            font-weight: 700;
            margin-bottom: 10px;
        }

        .infographic-text {
            color: var(--white);
            font-size: 18px;
        }

        /* Инструкция */
        .instructions {
            background-color: var(--black-secondary);
            padding: 60px 0;
        }

        .instruction-steps {
            max-width: 900px;
            margin: 0 auto;
        }

        .instruction-step {
            display: flex;
            align-items: flex-start;
            margin-bottom: 40px;
            background-color: var(--black-tertiary);
            padding: 30px;
            border-radius: 8px;
            border-left: 4px solid var(--gold-primary);
        }

        .step-icon {
            font-size: 30px;
            color: var(--gold-primary);
            margin-right: 20px;
            min-width: 50px;
            text-align: center;
        }

        .step-content {
            flex: 1;
        }

        .step-content-title {
            font-size: 20px;
            margin-bottom: 15px;
            color: var(--white);
        }

        .step-content-description {
            color: var(--gray);
            margin-bottom: 15px;
        }

        .step-features {
            list-style: none;
        }

        .step-features li {
            margin-bottom: 8px;
            padding-left: 25px;
            position: relative;
            color: var(--gray);
        }

        .step-features li:before {
            content: '✓';
            color: var(--gold-primary);
            position: absolute;
            left: 0;
        }

        /* Технические особенности */
        .features {
            padding: 60px 0;
        }

        .feature-list {
            list-style: none;
            max-width: 800px;
            margin: 0 auto;
        }

        .feature-list li {
            margin-bottom: 20px;
            padding: 20px;
            background-color: var(--black-tertiary);
            border-radius: 8px;
            display: flex;
            align-items: center;
        }

        .feature-icon {
            font-size: 24px;
            color: var(--gold-primary);
            margin-right: 15px;
            min-width: 40px;
            text-align: center;
        }

        .feature-text {
            color: var(--white);
        }

        /* Призыв к действию */
        .cta-section {
            padding: 80px 0;
            text-align: center;
            background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') no-repeat center center/cover;
        }

        .cta-title {
            font-family: 'Playfair Display', serif;
            font-size: 36px;
            color: var(--gold-primary);
            margin-bottom: 20px;
        }

        .cta-buttons {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 30px;
            flex-wrap: wrap;
        }

        /* Футер */
        .footer {
            background-color: var(--black-tertiary);
            padding: 60px 30px 30px;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .footer-logo {
            font-family: 'Playfair Display', serif;
            font-size: 24px;
            color: var(--gold-primary);
            margin-bottom: 20px;
            display: block;
        }

        .footer-description {
            color: var(--gray);
            margin-bottom: 20px;
        }

        .footer-title {
            font-size: 18px;
            color: var(--white);
            margin-bottom: 20px;
            position: relative;
        }

        .footer-title:after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 40px;
            height: 2px;
            background-color: var(--gold-primary);
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 10px;
        }

        .footer-links a {
            color: var(--gray);
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-links a:hover {
            color: var(--gold-primary);
        }

        .footer-bottom {
            text-align: center;
            margin-top: 60px;
            padding-top: 20px;
            border-top: 1px solid var(--dark-gray);
            color: var(--gray);
        }

        /* Адаптивность */
        @media (max-width: 992px) {
            .nav-menu {
                display: none;
            }
            
            .page-title {
                font-size: 36px;
            }
            
            .step-connector {
                display: none;
            }
            
            .steps {
                flex-direction: column;
                align-items: center;
            }
            
            .step {
                width: 100%;
                max-width: 400px;
            }
        }

        @media (max-width: 768px) {
            .navbar {
                padding: 15px;
            }
            
            .page-header {
                padding: 40px 20px;
            }
            
            .instruction-step {
                flex-direction: column;
                text-align: center;
            }
            
            .step-icon {
                margin-right: 0;
                margin-bottom: 15px;
            }
            
            .cta-buttons {
                flex-direction: column;
                align-items: center;
            }
        }

        @media (max-width: 576px) {
            .page-title {
                font-size: 28px;
            }
            
            .section-title {
                font-size: 28px;
            }
            
            .benefit-card, .infographic-item, .feature-list li {
                padding: 20px;
            }
            
            .footer {
                padding: 40px 20px 20px;
            }
        }
        /* Дополнительные стили для инструкции */
.sub-step {
    margin-bottom: 25px;
    padding: 15px;
    background-color: rgba(212, 175, 55, 0.1);
    border-radius: 6px;
    border-left: 3px solid var(--gold-primary);
}

.sub-step h4 {
    color: var(--gold-primary);
    margin-bottom: 10px;
    font-size: 18px;
}

.step-tip {
    background-color: rgba(255, 215, 0, 0.1);
    padding: 12px 15px;
    border-radius: 6px;
    margin-top: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.step-tip i {
    color: var(--gold-primary);
    font-size: 18px;
    margin-top: 2px;
}

.step-tip span {
    color: var(--light-gray);
    font-size: 14px;
    font-style: italic;
}

.info-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--gold-primary);
    margin: 50px 0 30px;
}

.info-grid {
    /*display: grid;*/
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.info-card {
    background-color: var(--black-tertiary);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.info-card h4 {
    color: var(--gold-primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.info-card p {
    color: var(--gray);
}


/* Основной контент */
.dashboard {
    display: flex;
    min-height: calc(100vh - 70px);
}

/* Боковая панель */
.sidebar {
    width: 280px;
    background-color: var(--black-secondary);
    padding: 30px 0;
    border-right: 1px solid var(--dark-gray);
}

.sidebar-menu {
    list-style: none;
}

.menu-item {
    padding: 15px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--gray);
    text-decoration: none;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.menu-item:hover {
    background-color: var(--black-tertiary);
    color: var(--white);
}

.menu-item.active {
    background-color: var(--black-tertiary);
    color: var(--gold-primary);
    border-left-color: var(--gold-primary);
}

.menu-item i {
    width: 20px;
    text-align: center;
}

/* Основное содержимое */
.main-content {
    flex: 1;
    overflow-y: auto;
    height: 100%;
}

.content-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 30px;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--gold-primary);
}

.tariff-info {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: var(--black-primary);
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    margin-left: 30px;
}

/* Карточки статистики */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20%, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background-color: var(--black-tertiary);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
}

.stat-icon {
    font-size: 32px;
    color: var(--gold-primary);
    margin-bottom: 15px;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--gray);
    font-size: 14px;
}

/* Вкладки */
.tabs {
    display: flex;
    border-bottom: 2px solid var(--dark-gray);
    margin-bottom: 30px;
}

.tab {
    padding: 15px 25px;
    cursor: pointer;
    color: var(--gray);
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.tab.active {
    color: var(--gold-primary);
    border-bottom-color: var(--gold-primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Таблицы */
.table-container {
    background-color: var(--black-tertiary);
    border-radius: 12px;
    overflow: hidden;
}

.table-header {
    padding: 20px;
    border-bottom: 1px solid var(--dark-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.table-title {
    font-size: 18px;
    font-weight: 600;
}

.table-actions {
    display: flex;
    gap: 10px;
}

.action-btn {
    padding: 8px 12px;
    border: 1px solid var(--dark-gray);
    background: none;
    color: var(--gray);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.action-btn:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th {
    background-color: var(--black-secondary);
    padding: 5px;
    text-align: left;
    font-weight: 600;
    color: var(--gold-primary);
    min-width: 120px;
    font-size: 14px;
}

.table td {
    padding: 5px;
    border-bottom: 1px solid var(--dark-gray);
    font-size: 12px;
}

.table tr:hover {
    background-color: var(--black-secondary);
}

.product-name {
    color: var(--white);
}
.status_related_product
{
    color: var(--bg-maybe-sell);
    font-size: 10px;
    line-height: 12px;
    max-width: 50px;
    text-align: center;
    font-family: 'Tilda Sans', sans-serif;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
}
.related-product a.href_with_status
{
    display: flex;
    justify-content: space-between;
}
.product-manufacturer {
    color: var(--gray);
    font-size: 12px;
}

.status-badge {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    text-align: center;
    justify-content: center;
    white-space: nowrap;
}

.status-active {
    background-color: rgba(46, 213, 115, 0.2);
    color: var(--success-color);
}

.status-sold {
    background-color: rgba(255, 71, 87, 0.2);
    color: var(--error-color);
}

.status-pending {
    background-color: rgba(255, 165, 2, 0.2);
    color: var(--warning-color);
}

.action-cell {
    /*display: flex;*/\
    gap: 10px;
}

.icon-btn {
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
}

.icon-btn:hover {
    color: var(--gold-primary);
}

/* Формы */
.form-section {
    background-color: var(--black-tertiary);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.form-title {
    font-size: 20px;
    color: var(--gold-primary);
    margin-bottom: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--white);
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--black-secondary);
    border: 1px solid var(--dark-gray);
    border-radius: 6px;
    color: var(--white);
    font-family: 'Inter', sans-serif;
}

.form-input:focus {
    outline: none;
    border-color: var(--gold-primary);
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
}

.form-submit {
    background-color: var(--gold-primary);
    color: var(--black-primary);
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.form-submit:hover {
    background-color: var(--gold-secondary);
}

/* Карта */
.map-container {
    height: 100%;
    background-color: var(--black-secondary);
    /*border-radius: 12px;*/
    overflow: hidden;
}

#map {
    width: 100%;
    height: 100%;
}

.activeSub:before
{
    content: 'Действует';
    width: fit-content;
    height: fit-content;
    position: absolute;
    padding: 5px 10px;
    border-radius: 8px;
    background: linear-gradient(to right, var(--gold-primary), var(--gold-dark));
    font-size: 12px;
    color: #fff;
    margin-left: -20px;
    margin-top: -20px;  
}
.pagination-nav
{

}
.pagination-container
{

}
.link-navigation-custom
{

}







/* Адаптивность */
@media (max-width: 1024px) {
    .sidebar {
        width: 220px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dashboard {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--dark-gray);
    }
    
    .sidebar-menu {
        display: flex;
        overflow-x: auto;
    }
    
    .menu-item {
        padding: 15px 20px;
        white-space: nowrap;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .content-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .table-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .table-actions {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 15px 20px;
    }
    
    .main-content {
        padding: 20px;
    }
    
    .user-info {
        display: none;
    }
    
    .tabs {
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .tab {
        padding: 12px 20px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* Утилиты */
.hidden {
    display: none;
}

.text-center {
    text-align: center;
}

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

.mb-20 {
    margin-bottom: 20px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray);
}

.empty-state i {
    font-size: 48px;
    color: var(--gold-primary);
    margin-bottom: 20px;
}

.auth-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') no-repeat center center/cover;
}


.auth-hero {
    flex: 1;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--black-primary);
    text-align: center;
    display: none;
}

.auth-hero-content {
    max-width: 400px;
}

.auth-hero-icon {
    font-size: 64px;
    margin-bottom: 30px;
}

.auth-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 700;
}

.auth-hero-text {
    font-size: 16px;
    line-height: 1.6;
}

.auth-forms {
    flex: 1;
    padding: 50px 40px;
    position: relative;
}

/* Переключатель форм */
.auth-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--dark-gray);
}

.auth-tab {
    padding: 15px 30px;
    cursor: pointer;
    font-weight: 500;
    color: var(--gray);
    transition: all 0.3s;
    position: relative;
}


.auth-tab.active:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--gold-primary);
}

/* Формы */
.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.form-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--gold-primary);
    margin-bottom: 10px;
}

.form-subtitle {
    color: var(--gray);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--white);
    font-weight: 500;
    font-size: 14px;
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    background-color: var(--black-secondary);
    border: 2px solid var(--dark-gray);
    border-radius: 8px;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-input.error {
    border-color: var(--error-color);
}

.form-input.success {
    border-color: var(--success-color);
}

.input-with-icon {
    position: relative;
}

.input-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    cursor: pointer;
}

.error-message {
    color: var(--error-color);
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
}

.success-message {
    color: var(--success-color);
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.success-message.show {
    display: block;
}

.password-requirements {
    background-color: var(--black-secondary);
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
    display: none;
}

.password-requirements.show {
    display: block;
}

.password-requirements ul {
    list-style: none;
    font-size: 12px;
    color: var(--gray);
}

.password-requirements li {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.password-requirements li:before {
    content: '•';
    color: var(--gold-primary);
}

.password-requirements li.valid {
    color: var(--success-color);
}

.password-requirements li.valid:before {
    content: '✓';
}

.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.form-check input {
    width: 18px;
    height: 18px;
    accent-color: var(--gold-primary);
}

.form-check label {
    color: var(--gray);
    font-size: 14px;
}

.form-check label a {
    color: var(--gold-primary);
    text-decoration: none;
}

.form-check label a:hover {
    text-decoration: underline;
}

.form-submit {
    width: 100%;
    padding: 16px;
    background-color: var(--gold-primary);
    color: var(--black-primary);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.form-submit:hover {
    background-color: var(--gold-secondary);
}

.form-submit:disabled {
    background-color: var(--dark-gray);
    cursor: not-allowed;
}

.divider {
    display: flex;
    align-items: center;
    margin: 30px 0;
    color: var(--gray);
}

.divider:before,
.divider:after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: var(--dark-gray);
}

.divider span {
    padding: 0 15px;
    font-size: 14px;
}

.social-auth {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border: 2px solid var(--dark-gray);
    border-radius: 8px;
    background-color: transparent;
    color: var(--white);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.social-btn:hover {
    border-color: var(--gold-primary);
    background-color: rgba(212, 175, 55, 0.1);
}

.social-btn.google {
    color: #DB4437;
}

.social-btn.telegram {
    color: #0088cc;
}

.auth-footer {
    text-align: center;
    margin-top: 30px;
    color: var(--gray);
    font-size: 14px;
}

.auth-footer a {
    color: var(--gold-primary);
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Капча */
.captcha-container {
    background-color: var(--black-secondary);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.captcha-code {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 5px;
    color: var(--gold-primary);
    margin: 15px 0;
    background: linear-gradient(45deg, var(--gold-primary), var(--gold-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    user-select: none;
}

.captcha-refresh {
    background: none;
    border: none;
    color: var(--gold-primary);
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0 auto;
}


input[name="product_name"]
{
    margin-bottom: 5px;
}
.view-controls
{
    display: none;
}
/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Адаптивность */
@media (max-width: 900px) {
    .auth-wrapper {
        flex-direction: column;
        max-width: 500px;
    }
    
    .auth-hero {
        padding: 40px 30px;
    }
    
    .auth-forms {
        padding: 40px 30px;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 15px 20px;
    }
    
    .auth-container {
        padding: 20px 15px;
    }
    
    .auth-hero {
        padding: 30px 20px;
    }
    
    .auth-hero-title {
        font-size: 24px;
    }
    
    .auth-forms {
        padding: 30px 20px;
    }
    
    .auth-tab {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .social-auth {
        grid-template-columns: 1fr;
    }
    
    .form-title {
        font-size: 24px;
    }
}

/* Валидация */
.validation-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
}

.validation-icon.valid {
    color: var(--success-color);
}

.validation-icon.invalid {
    color: var(--error-color);
}




/* Основной контент */
.auth-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') no-repeat center center/cover;
    height: 100%;
    min-height: 100vh;
}

.auth-wrapper {
    display: flex;
    max-width: 1000px;
    width: 50%;
    background-color: var(--black-primary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.auth-hero {
    flex: 1;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--black-primary);
    text-align: center;
}

.auth-hero-content {
    max-width: 400px;
}

.auth-hero-icon {
    font-size: 64px;
    margin-bottom: 30px;
}

.auth-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 700;
}

.auth-hero-text {
    font-size: 16px;
    line-height: 1.6;
}

.auth-forms {
    flex: 1;
    padding: 20px;
    position: relative;
}

/* Переключатель форм */
.auth-tabs {
    display: flex;
    margin-bottom: 0px;
    border-bottom: 2px solid var(--dark-gray);
}

.auth-tab {
    padding: 15px 30px;
    cursor: pointer;
    font-weight: 500;
    color: var(--gray);
    transition: all 0.3s;
    position: relative;
}

.auth-tab.active {
    color: var(--black-secondary);
    background-color: var(--gold-primary);
}

.auth-tab.active:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--gold-primary);
}

/* Формы */
.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.form-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--gold-primary);
    margin-bottom: 10px;
}

.form-subtitle {
    color: var(--gray);
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 10px;
}

.form-label {
    display: block;
    margin-bottom: 0px;
    color: var(--white);
    font-weight: 500;
    font-size: 14px;
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    background-color: var(--black-secondary);
    border: 2px solid var(--gold-primary);
    border-radius: 8px;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-input.error {
    border-color: var(--error-color);
}

.form-input.success {
    border-color: var(--success-color);
}

.input-with-icon {
    position: relative;
}

.input-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    cursor: pointer;
}

.error-message {
    color: var(--error-color);
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
}

.success-message {
    color: var(--success-color);
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.success-message.show {
    display: block;
}

.password-requirements {
    background-color: var(--black-secondary);
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
    display: none;
}

.password-requirements.show {
    display: block;
}

.password-requirements ul {
    list-style: none;
    font-size: 12px;
    color: var(--gray);
}

.password-requirements li {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.password-requirements li:before {
    content: '•';
    color: var(--gold-primary);
}

.password-requirements li.valid {
    color: var(--success-color);
}

.password-requirements li.valid:before {
    content: '✓';
}

.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0px;
}

.form-check input {
    width: 18px;
    height: 18px;
    accent-color: var(--gold-primary);
}

.form-check label {
    color: var(--gray);
    font-size: 14px;
}

.form-check label a {
    color: var(--gold-primary);
    text-decoration: none;
}

.form-check label a:hover {
    text-decoration: underline;
}

.form-submit {
    width: 100%;
    padding: 10px;
    background-color: var(--gold-primary);
    color: var(--black-primary);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.form-submit:hover {
    background-color: var(--gold-secondary);
}

.form-submit:disabled {
    background-color: var(--dark-gray);
    cursor: not-allowed;
}

.divider {
    display: flex;
    align-items: center;
    margin: 10px 0;
    color: var(--gray);
}

.divider:before,
.divider:after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: var(--dark-gray);
}

.divider span {
    padding: 0 15px;
    font-size: 14px;
}

.social-auth {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 0px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border: 2px solid var(--dark-gray);
    border-radius: 8px;
    background-color: transparent;
    color: var(--white);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.social-btn:hover {
    border-color: var(--gold-primary);
    background-color: rgba(212, 175, 55, 0.1);
}

.social-btn.google {
    color: #DB4437;
}

.social-btn.telegram {
    color: #0088cc;
}

.auth-footer {
    text-align: center;
    margin-top: 10px;
    color: var(--gray);
    font-size: 14px;
}

.auth-footer a {
    color: var(--gold-primary);
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Капча */
.captcha-container {
    background-color: var(--black-secondary);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.captcha-code {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 5px;
    color: var(--gold-primary);
    margin: 15px 0;
    background: linear-gradient(45deg, var(--gold-primary), var(--gold-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    user-select: none;
}

.captcha-refresh {
    background: none;
    border: none;
    color: var(--gold-primary);
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0 auto;
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Адаптивность */
@media (max-width: 900px) {
    .auth-wrapper {
        flex-direction: column;
        max-width: 500px;
    }
    
    .auth-hero {
        padding: 40px 30px;
    }
    
    .auth-forms {
        padding: 40px 30px;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 15px 20px;
    }
    
    .auth-container {
        padding: 20px 15px;
    }
    
    .auth-hero {
        padding: 30px 20px;
    }
    
    .auth-hero-title {
        font-size: 24px;
    }
    
    .auth-forms {
        padding: 30px 20px;
    }
    
    .auth-tab {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .social-auth {
        grid-template-columns: 1fr;
    }
    
    .form-title {
        font-size: 24px;
    }
}

/* Валидация */
.validation-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
}

.validation-icon.valid {
    color: var(--success-color);
}

.validation-icon.invalid {
    color: var(--error-color);
}

.declaration-number, .product-name, .declaration-card strong
{
    color: var(--gold-primary);
}




@media (max-width: 576px) {
    .navbar {
        padding: 15px;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .btn {
        padding: 8px 15px;
        font-size: 14px;
    }
    .auth-wrapper
    {
        width: 100%;
    }
    .product-card {
        width: 100%;
        /*left: 0;*/
        right: -100vw;
        top: 0%;
        height: 100%;
        max-height: unset;
        transition: 0.3s;
        display: block;
    }
    .modal-content {
        width: 95%;
        padding: 15px;
    }
    .sidebarLeft
    {
        position: fixed !important;
    }
    .declaration-card
    {
        /*background-color: var(--black-tertiary);*/
        border: 1px solid var(--dark-gray);
    }
}

