/* cookies */

.cookieBlock .closeBtnCookie {
    position: absolute;
    right: 3px;
    top: 3px;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    line-height: 1;
    font-size: 20px;
    color: rgba(0, 0, 0, .7);
    padding-top: 1px;
}

.cookieBlock .hidden {
    display: none !important;
}

.cookieBlock .closeBtnCookie:hover {
    color: rgba(0, 0, 0, 1);
}

.switch-container {
    display: flex;
    align-items: center;
    margin-top: 8px;
    gap: 10px;
}

.switch-label {
    margin: 0 8px;
    font-size: 14px;
    color: #555;
}

.switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 14px;
    margin: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.wrapCategoryBlockCookie {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 10px 0;
}

.sliderCookie {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .2s;
    border-radius: 14px;
}

.sliderCookie:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: -3px;
    bottom: -3px;
    background-color: white;
    transition: .2s;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    border: 0.5px solid rgba(0, 0, 0, 0.1);
}

input:checked+.sliderCookie {
    background-color: var(--colorCookie);
}

input:checked+.sliderCookie:before {
    transform: translateX(22px);
}

.disabled-switch {
    opacity: 0.6;
    cursor: not-allowed;
}

.disabled-switch .sliderCookie {
    background-color: var(--colorCookie) !important;
    cursor: not-allowed;
}

.cookie-category {
    margin-bottom: 5px;
    padding: 5px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.cookie-category h3 {
    margin-top: 0;
}

.cookieBlock {
    position: fixed;
    z-index: 1000;
    background: #fff;
    font-size: 16px;
    color: #000;
    background-position-x: 13.5px;
    border-radius: 16px;
    width: 375px;
    margin: 0;
    padding: 10px;
    background-position-y: 14px;
    box-shadow: 0 0 15px rgba(95, 109, 178, .2);
}

.btnBlock {
    display: flex;
    gap: 20px;
}

.wrapCookieBlockTxt {
    display: flex;
    padding: 10px;
    gap: 20px;
    flex-direction: column;
}

.wrapCookieBlockTxt .titleCookie {
    font-size: 14px;
    line-height: 18px;
    font-weight: 500;
    color: #0a0c0f;
}

.wrapCookieBlockTxt .tabsCookie {
    font-size: 13px;
    font-weight: 400;
    line-height: 17px;
    margin-top: 4px;
}

.wrapCookieBlockTxt a {
    color: var(--colorCookie);
    text-decoration: underline;
    display: inline;
    font-size: 13px;
}

.cookieBlock .btnCookie {
    cursor: pointer;
    display: flex;
    flex: auto;
    justify-content: center;
    align-items: center;
    padding: 0 12px;
    color: #fff;
    border: 1px solid var(--colorCookie);
    background-color: var(--colorCookie);
    transition: all 0.4s;
    height: 40px;
    border-radius: 50px;
    font-size: 14px;
    outline: none;
}

.cookieBlock .btnCookieSet {
    opacity: 0.5;
}

.cookieBlock .btnCookieSet:hover {
    opacity: 1;
}

.tabCookie {
    display: none;
}

.tabCookie.active {
    display: block;
}

.cookieBlock .btnCookie:hover {
    background-color: #ffffff;
    color: #000;
}

.cookie-disable-instruction {
    margin: 0 auto;
    color: #333;
    line-height: 1.6;
}

.main-titleCookie {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 25px;
    font-size: 28px;
    font-weight: 600;
}

.intro-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.warning-note {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    margin-top: 20px;
    border-radius: 0 4px 4px 0;
}

.guide-titleCookie {
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 25px;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.browser-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
    overflow: hidden;
}

.browser-header {
    padding: 14px 20px 14px 22px;
    background: linear-gradient(180deg, #fafbfc 0%, #f3f5f7 100%);
    border-bottom: 1px solid #e8eaed;
}

.browser-title,
.browser-titleCookie {
    color: #2c3e50;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    letter-spacing: -0.02em;
}

.browser-content {
    padding: 20px;
}

.step-section {
    margin-bottom: 20px;
}

.step-titleCookie {
    color: #555;
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 500;
}

.step-list {
    padding-left: 20px;
    margin: 0;
}

.step-list li {
    margin-bottom: 8px;
}

.browser-note {
    color: #666;
    font-style: italic;
    margin-bottom: 15px;
}

.tip-box {
    background: #e3f2fd;
    border-radius: 8px;
    padding: 15px 20px;
    display: flex;
    align-items: flex-start;
    margin-top: 30px;
}

.tip-icon {
    font-size: 24px;
    margin-right: 15px;
    flex-shrink: 0;
}

.tip-text {
    margin: 0;
    font-size: 15px;
    color: #1976d2;
}

.cookie-titleCookie {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 18px;
    padding-bottom: 10px;
    font-weight: bold;
}

.cookie-subtitleCookie {
    color: #2980b9;
    margin: 25px 0 15px;
    font-size: 22px;
}

.cookie-category {
    background: #f8f9fa;
    border-left: 4px solid #3498db;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 0 5px 5px 0;
}

.category-titleCookie {
    color: #2c3e50;
    margin-top: 0;
    font-size: 18px;
    display: flex;
    align-items: center;
}

.required-badge {
    background: #e74c3c;
    color: white;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 12px;
    margin-left: 10px;
}

.cookie-list {
    padding-left: 20px;
}

.cookie-list li {
    margin-bottom: 8px;
}

.management-list {
    list-style-type: none;
    padding-left: 0;
}

.management-list li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
}

.note-box {
    background: #fff8e1;
    border-left: 4px solid #ffc107;
    padding: 15px;
    margin: 20px 0;
    font-size: 15px;
}

.browsers-section {
    margin-top: 40px;
}

.browser-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.browser-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.browser-card.chrome::before {
    background: #4285F4;
}

.browser-card.firefox::before {
    background: #FF7139;
}

.browser-card.edge::before {
    background: #0078D7;
}

.browser-card.safari::before {
    background: #1B73D6;
}

.browser-card.yandex::before {
    background: #FF0000;
}

.browser-title i,
.browser-titleCookie i {
    margin-right: 10px;
    font-size: 24px;
}

.browser-steps h4 {
    color: #7f8c8d;
    margin: 20px 0 10px;
    font-size: 16px;
}

.icon-settings::before {
    content: "⚙️";
    position: absolute;
    left: 0;
}

.icon-save::before {
    content: "💾";
    position: absolute;
    left: 0;
}

.select-all-cookies,
.deselect-all-cookies {
    background: rgb(204 204 204 / 32%);
    border: 0;
    margin: 10px 0;
    display: inline-block;
}

.cookieBlock .btnCookieSelect {
    padding: 8px 20px;
    vertical-align: top;
    font-size: 14px;
    border-radius: 0px;
    cursor: pointer;
}

.cookieBlock .btnCookieSelect:hover {
    background: #737373;
    color: #FFF;
}

@media (max-width: 768px) {
    .cookieBlock {
        width: auto;
        right: 10px !important;
        left: 10px !important;
        bottom: 0 !important;
    }
    .cookie-instruction {
        padding: 15px;
    }
    .cookie-titleCookie {
        font-size: 24px;
    }
    .browser-card {
        padding: 15px;
    }
    .cookie-disable-instruction {
        padding: 15px;
    }
    .main-titleCookie {
        font-size: 24px;
    }
    .browser-card {
        margin-bottom: 20px;
    }
    .browser-content {
        padding: 15px;
    }
    .cookieBlock .btnCookie {
        height: 34px;
        padding: 0 8px;
    }
    .btnBlock {
        gap: 10px;
    }
    .wrapCookieBlockTxt {
        gap: 10px;
    }
}


/* cookies */