/* Стили для страницы Default.aspx */

/* Адаптивность для таблиц оплаты */
@media only screen and (max-width: 768px) {
    #fmain {
        width: 95% !important;
        max-width: 450px;
        margin: 0 auto;
        padding: 0 10px;
        box-sizing: border-box;
    }

    #fmain table {
        width: 100% !important;
    }

    #fmain input[type="text"] {
        width: 100% !important;
        max-width: 280px;
        box-sizing: border-box;
    }

    #fmain table tr td table {
        width: 100% !important;
    }

    #fmain table tr td table tr {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }

    #fmain table tr td table tr td {
        display: block !important;
        width: 100% !important;
        text-align: left !important;
        padding: 5px 0 !important;
    }
}

/* Адаптивность для PayPal формы */
@media only screen and (max-width: 768px) {
    #fmain0 {
        width: 95% !important;
        max-width: 400px;
        margin: 0 auto;
        padding: 0 10px;
        box-sizing: border-box;
    }

    #fmain0 table {
        width: 100% !important;
    }

    #fmain0 input[type="text"] {
        width: 100% !important;
        max-width: 280px;
        box-sizing: border-box;
    }

    #fmain0 table tr td table {
        width: 100% !important;
    }

    #fmain0 table tr td table tr {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }

    #fmain0 table tr td table tr td {
        display: block !important;
        width: 100% !important;
        text-align: left !important;
        padding: 5px 0 !important;
    }
}

/* Адаптивность для VK формы подписки */
#vk_groups {
    max-width: 650px !important;
    width: 100% !important;
    margin: 0 auto;
}

#vk_groups1 {
    max-width: 250px !important;
    width: 100% !important;
    margin: 10px auto;
}

@media only screen and (max-width: 768px) {
    #vk_groups {
        width: 95% !important;
        max-width: 650px;
    }

    #vk_groups iframe {
        width: 100% !important;
        max-width: 100% !important;
    }

    #vk_groups1 {
        width: 90% !important;
        max-width: 250px;
    }

    #vk_groups1 iframe {
        width: 100% !important;
    }
}

@media only screen and (max-width: 480px) {
    #vk_groups {
        width: 100% !important;
        padding: 0 5px;
        box-sizing: border-box;
    }

    #vk_groups1 {
        width: 100% !important;
        padding: 0 5px;
        box-sizing: border-box;
    }
}

/* Стили для флагов языков */
.lang_en, .lang_de, .lang_fr {
    width: 22px;
    height: 16px;
}

.lang_en {
    background: url(/images/English_thumb.png);
}

.lang_de {
    background: url(/images/German_thumb.png);
}

.lang_fr {
    background: url(/images/French_thumb.png);
}

/* Стили для таблиц FAQ */
.vopros td {
    background-color: #cccccc;
    padding: 7px;
}

/* Стили для PayPal остановки анонсов */
.paypal_stop_anons {
    font-size: 12px;
}

.paypal_stop_anons a {
    font-size: 12px;
    margin-right: 0px;
}

.paypal_stop_anons a:hover {
    background: none;
    margin-right: 0px;
}

/* Стили для сайт-хедера */
#site-header {
    background-size: cover;
    color: #fff;
}

/* Вспомогательные классы */
.auto-style2 {
    height: 28px;
}

.auto-style3 {
    height: 94px;
}

/* ====== Cookie Consent Banner ====== */
#cookie-consent-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: rgba(30, 30, 30, 0.92);
    color: #e0e0e0;
    font-size: 13px;
    line-height: 1.5;
    padding: 12px 20px;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.4);
}

#cookie-consent-banner > div {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 18px;
}

#cookie-consent-banner a {
    color: #ff6b6b;
    text-decoration: underline;
}

#cookie-consent-banner a:hover {
    color: #ff9999;
}

#cookie-consent-btn {
    flex: 0 0 auto;
    background: #c0392b;
    color: #fff;
    border: none;
    padding: 9px 28px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s;
    white-space: nowrap;
}

#cookie-consent-btn:hover {
    background: #e74c3c;
}

@media only screen and (max-width: 600px) {
    #cookie-consent-banner {
        padding: 10px 12px;
        font-size: 12px;
    }

    #cookie-consent-banner > div {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    #cookie-consent-btn {
        width: 100%;
        max-width: 220px;
        padding: 10px 20px;
    }
}
