/* ============================================================
   WWS Cookie Consent
   Bilsemester.net
   ============================================================ */

.wws-cc-hidden {
    display: none !important;
}

.wws-cc-overlay {
    position: fixed;
    inset: 0;
    z-index: 2147483645;
    background: rgba(0, 0, 0, 0.18);
}

.wws-cc-panel {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    z-index: 2147483646;
    box-sizing: border-box;
    width: calc(100% - 30px);
    max-width: 760px;
    padding: 20px;
    background: #f0f4f4;
    color: #17202a;
    border: 1px solid #b8c7c7;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);
    font-family: Roboto, Arial, Calibri, Verdana, Tahoma, sans-serif;
    text-align: left;
}

.wws-cc-panel * {
    box-sizing: border-box;
}

.wws-cc-title {
    margin: 0 0 8px 0;
    padding: 0;
    font-family: "Roboto Slab", Georgia, serif;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 600;
    color: #000;
}

.wws-cc-message {
    margin: 0 0 14px 0;
    padding: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #17202a;
}

.wws-cc-policy {
    display: inline-block;
    margin: 0 0 16px 0;
    color: #2e436b !important;
    text-decoration: underline !important;
    font-size: 14px;
}

.wws-cc-policy:hover,
.wws-cc-policy:focus {
    text-decoration: none !important;
}

.wws-cc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wws-cc-button {
    appearance: none;
    -webkit-appearance: none;
    min-width: 140px;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    font-family: Roboto, Arial, Calibri, Verdana, Tahoma, sans-serif;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
}

.wws-cc-accept {
    background: #006400;
    color: #fff;
    border-color: #006400;
}

.wws-cc-accept:hover,
.wws-cc-accept:focus {
    background: #004f00;
    border-color: #004f00;
}

.wws-cc-deny {
    background: #fff;
    color: #25364f;
    border-color: #5c7291;
}

.wws-cc-deny:hover,
.wws-cc-deny:focus {
    background: #edf1f7;
}

.wws-cc-settings {
    position: fixed;
    left: 12px;
    bottom: 12px;
    z-index: 2147483644;
    padding: 7px 10px;
    border: 1px solid #5c7291;
    border-radius: 4px;
    background: #fff;
    color: #25364f;
    cursor: pointer;
    font-family: Roboto, Arial, Calibri, Verdana, Tahoma, sans-serif;
    font-size: 12px;
    line-height: 1.2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.wws-cc-settings:hover,
.wws-cc-settings:focus {
    background: #edf1f7;
}

body.wws-cc-open {
    overflow: hidden;
}

@media only screen and (max-width: 600px) {
    .wws-cc-panel {
        bottom: 10px;
        width: calc(100% - 20px);
        padding: 16px;
    }

    .wws-cc-title {
        font-size: 18px;
    }

    .wws-cc-message {
        font-size: 14px;
    }

    .wws-cc-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .wws-cc-button {
        width: 100%;
    }
}
