/* V-Excel - Cookie Consent */

#vx-cookie-banner,
#vx-cookie-preferences {
    font-family: inherit;
    box-sizing: border-box;
}

#vx-cookie-banner[hidden],
#vx-cookie-preferences[hidden] {
    display: none !important;
}

#vx-cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 760px;
    margin: 0 auto;
    padding: 26px 30px;
    background: #fff;
    color: #444;
    border: 1px solid #e2e2e2;
    border-top: 4px solid #a63d2e;
    border-radius: 8px;
    box-shadow: 0 6px 30px rgba(0,0,0,0.15);
    z-index: 99999;
}

#vx-cookie-banner h2 {
    margin: 0 0 12px;
    color: #1f2d3d;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
}

#vx-cookie-banner p {
    margin: 0 0 14px;
    color: #444;
    font-size: 15px;
    line-height: 1.7;
}

#vx-cookie-banner a {
    color: #a63d2e;
    text-decoration: underline;
}

.vx-cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.vx-cookie-actions button {
    flex: 1 1 180px;
    min-height: 44px;
    padding: 12px 20px;
    border: 1px solid #a63d2e;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
}

#vx-cookie-accept {
    background: #a63d2e;
    color: #fff;
}

#vx-cookie-decline {
    background: #fff;
    color: #a63d2e;
}

#vx-cookie-accept:hover {
    background: #843024;
}

#vx-cookie-decline:hover {
    background: #faf0ed;
}

#vx-cookie-preferences {
    position: fixed;
    bottom: 16px;
    left: 16px;
    min-height: 44px;
    padding: 9px 14px;
    background: #fff;
    color: #555;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    font-size: 12px;
    line-height: 1.4;
    cursor: pointer;
    z-index: 99998;
}

#vx-cookie-preferences:hover {
    color: #a63d2e;
    border-color: #a63d2e;
}

#vx-cookie-banner button:focus-visible,
#vx-cookie-banner a:focus-visible,
#vx-cookie-preferences:focus-visible {
    outline: 3px solid #1f2d3d;
    outline-offset: 3px;
}

@media (max-width: 767px) {
    #vx-cookie-banner {
        bottom: 12px;
        left: 12px;
        right: 12px;
        padding: 20px;
        max-height: 80vh;
        overflow-y: auto;
    }

    #vx-cookie-banner h2 {
        font-size: 20px;
    }

    #vx-cookie-banner p {
        font-size: 14px;
    }

    .vx-cookie-actions {
        flex-direction: column;
        gap: 10px;
    }

    .vx-cookie-actions button {
        flex: 0 0 auto;
        width: 100%;
    }

    #vx-cookie-preferences {
        bottom: 10px;
        left: 10px;
    }
}
