.marti-cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 90%;
    max-width: 500px;
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 20px;
    box-sizing: border-box;
    z-index: 10000;
    display: none;
    flex-direction: column;
    gap: 15px;
    font-family: sans-serif;
    border: 1px solid #e0e0e0;
}

.marti-cookie-banner.show {
    display: flex;
}

.marti-cookie-banner h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.marti-cookie-banner p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.marti-cookie-banner .buttons {
    margin-top: 30px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.marti-cookie-banner .settings-panel {
    display: none;
    flex-direction: column;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.marti-cookie-banner .settings-panel.show {
    display: flex;
}

.marti-cookie-banner .setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.marti-cookie-banner .setting-info h4 {
    margin: 0;
    font-size: 14px;
    color: #333;
}

.marti-cookie-banner .setting-info p {
    margin: 0;
    font-size: 12px;
    color: #777;
}

.marti-cookie-banner .status-badge {
    font-size: 12px;
    font-weight: 600;
    color: #50b848;
}

/* Toggle Switch Styles */
.marti-cookie-banner .switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.marti-cookie-banner .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.marti-cookie-banner .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 20px;
}

.marti-cookie-banner .slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.marti-cookie-banner input:checked + .slider {
    background-color: #50b848;
}

.marti-cookie-banner input:checked + .slider:before {
    transform: translateX(20px);
}

.marti-cookie-banner .save-btn {
    background-color: #333;
    color: white;
    margin-top: 10px;
}

.marti-cookie-banner .save-btn:hover {
    background-color: #000;
}

.marti-cookie-banner button {
    padding: 10px 20px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.2s;
}

.marti-cookie-banner .accept-btn {
    background-color: #50b848;
    color: white;
}

.marti-cookie-banner .accept-btn:hover {
    background-color: #45a03e;
}

.marti-cookie-banner .reject-btn {
    background-color: #f4f4f4;
    color: #666;
}

.marti-cookie-banner .reject-btn:hover {
    background-color: #e0e0e0;
}

@media (max-width: 480px) {
    .marti-cookie-banner {
        left: 12px;
        right: 12px;
        width: auto;
        max-width: none;
        bottom: 12px;
        padding: 16px;
    }

    .marti-cookie-banner .buttons {
        margin-top: 12px;
        flex-direction: column;
        align-items: stretch;
    }

    .marti-cookie-banner button {
        width: 100%;
    }

    .marti-cookie-banner .setting-item {
        align-items: flex-start;
        gap: 12px;
    }

    .marti-cookie-banner .switch,
    .marti-cookie-banner .status-badge {
        flex: 0 0 auto;
    }
}

