* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    min-height: 100vh;
    background: #f5f7fb;
}

.cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    max-width: 900px;
    margin: auto;
    background: #1f2937;
    color: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .35);
    display: none;
    z-index: 999999;
}

.cookie-banner h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.cookie-banner p {
    font-size: 15px;
    line-height: 1.7;
    color: #d1d5db;
    margin-bottom: 18px;
}

.cookie-links {
    margin-bottom: 18px;
}

.cookie-links a {
    color: #60a5fa;
    text-decoration: none;
    margin-right: 15px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-buttons button {
    padding: 12px 22px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
}

.accept {
    background: #2563eb;
    color: #fff;
}

.reject {
    background: #374151;
    color: #fff;
}

.customize {
    background: #fff;
    color: #111827;
}

.cookie-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .65);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999999;
    padding: 20px;
}

.cookie-box {
    background: #fff;
    width: 100%;
    max-width: 700px;
    border-radius: 12px;
    overflow: hidden;
}

.cookie-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #2563eb;
    color: #fff;
}

.cookie-header button {
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}

.cookie-content {
    padding: 25px;
}

.cookie-content p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #555;
}

.cookie-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #ececec;
}

.cookie-item h4 {
    margin-bottom: 5px;
}

.cookie-item small {
    color: #666;
}

.switch {
    position: relative;
    width: 55px;
    height: 30px;
    display: inline-block;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ccc;
    border-radius: 30px;
    cursor: pointer;
    transition: .3s;
}

.slider:before {
    content: "";
    position: absolute;
    height: 24px;
    width: 24px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: .3s;
}

.switch input:checked+.slider {
    background: #2563eb;
}

.switch input:checked+.slider:before {
    transform: translateX(25px);
}

.cookie-footer {
    padding: 20px;
    text-align: right;
    background: #f8f8f8;
}

.cookie-footer button {
    padding: 12px 24px;
    background: #2563eb;
    border: none;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

.footer-link {
    padding: 5px;
    text-align: center;
}

.footer-link a {
    color: #2563eb;
    text-decoration: none;
    font-weight: bold;
}

@media(max-width:768px) {

    .cookie-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 20px;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .cookie-buttons button {
        width: 100%;
    }

    .cookie-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

}