.cookie-wrap {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}
.cookie-banner,
.cookie-config {
    width: 100%;
    background: #0f172e;
    padding: 20px;
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.2);
    color: #fff;
    box-sizing: border-box;
    max-height: 100vh;
    overflow-y: auto;
}
.cookie-banner p,
.cookie-config p{
    color: #fff!important;
}
.cookie-banner strong,
.cookie-config strong{
    color: #fff!important;
}
.cookie-banner a,
.cookie-config a {
    position: relative;
    display: inline-block;
    color: #3d9cff;
    transition: .4s;
}
.cookie-banner a:hover,
.cookie-config a:hover {
    color: #fff;
}
.cookie-banner a::after,
.cookie-config a::after {
    content: "";
    background-color: #3d9cff;
    height: 1px;
    width: 100%;
    display: flex;
}
.cookie-banner a:hover::after,
.cookie-config a:hover::after {
    background-color: #fff;
}
.cookie-content,
.config-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}
.cookie-buttons,
.config-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.cookie-btn {
    padding: 12px 20px;
    cursor: pointer;
    border: none;
    border-radius: 4px;
    font-weight: 400;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 120px;
    text-align: center;
}
.reject-btn {
    background: #fff;
    color: #222;
}
.reject-btn:hover {
    background: #cbd8ff;
}
.config-btn {
    background: #fff;
    color: #222;
}
.config-btn:hover {
    background: #cbd8ff;
}
.accept-btn {
    background: #0058b3;
    color: white;
}
.accept-btn:hover {
    background: #cbd8ff;
    color: #222;
}
.cookie-category {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.cookie-category:last-child {
    border-bottom: none;
}
.cookie-category label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    margin-bottom: 15px;
    font-size: 18px;
}
.cookie-category label strong {
    font-weight:500;
}
.cookie-category input[type="checkbox"] {
    margin-right: 12px;
    margin-top: 5px;
    width: 18px;
    height: 18px;
}
.back-btn {
    background: none;
    border: none;
    color: #3196ff;
    cursor: pointer;
    padding: 10px 0;
    margin-bottom: 15px;
    font-size: 16px;
    display: flex;
    align-items: center;
    outline: none;
    transition: .4s;
}
.back-btn:hover {
    text-decoration: underline;
}
.back-btn::before {
    content: "←";
    margin-right: 8px;
    font-size: 18px;
}
.save-btn {
    padding: 14px 25px;
    background: #0058b3;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 400;
    font-size: 16px;
    transition: 0.3s;
    width: 100%;
    margin-top: 10px;
}
.save-btn:hover {
    background: #cbd8ff;
    color: #222;
}
@media (max-width: 768px) {
    .cookie-banner,
    .cookie-config {
        padding: 15px;
        max-height: 90vh;
    }
    .cookie-content,
    .config-content {
        padding: 5px;
    }
    .cookie-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .cookie-btn {
        width: 100%;
        padding: 14px;
    }
    .cookie-category label {
        font-size: 16px;
        margin-bottom: 10px;
    }
    .cookie-category p {
        font-size: 14px;
        line-height: 1.5;
    }
    .back-btn {
        font-size: 15px;
        padding: 8px 0;
    }
}
@media (max-width: 480px) {
    .cookie-banner,
    .cookie-config {
        max-height: 90vh;
    }
    .cookie-category label {
        font-size: 15px;
    }
    .cookie-category p {
        font-size: 13px;
    }
}
.cookie-banner input:focus,
.cookie-config button:focus {
    box-shadow: 0 0 0 0.2rem rgb(0 88 179 / 50%);
    outline: none;
}