/*
 * Public Styles for Ric Ultimate Cookie Consent
 */

#cookie-banner-glass {
    position: fixed;
    /* Default positioning will be overridden by inline styles from PHP */
    background: rgba(255, 255, 255, 0.25); /* Base for glassy effect */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    padding: 10px 16px; /* Base padding */
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 13px; /* Base font size */
    color: #111; /* Base text color */
    z-index: 99999;
    max-width: 420px; /* Base max width */
    width: auto;
    line-height: 1.4;
    display: none; /* Hidden by default, shown by JS */
    align-items: center;
    gap: 12px;
    box-sizing: border-box; /* Ensure padding and border are included in width */
}

#cookie-banner-glass.show {
    display: flex;
}

#cookie-banner-glass .cookie-text {
    flex: 1;
}

#cookie-banner-glass button {
    border: none;
    cursor: pointer;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

#cookie-banner-glass .accept {
    background-color: #007aff; /* Base color */
    color: #fff; /* Base color */
}

#cookie-banner-glass .accept:hover {
    background-color: #006ae6; /* Darker hover */
}

#cookie-banner-glass .decline {
    background-color: #e0e0e0; /* Base color */
    color: #333; /* Base color */
}

#cookie-banner-glass .decline:hover {
    background-color: #cfcfcf; /* Darker hover */
}

@media (max-width: 480px) {
    #cookie-banner-glass {
        bottom: 16px;
        left: 16px;
        right: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        max-width: unset; /* Allow full width on small screens */
    }

    #cookie-banner-glass.full-width-bottom,
    #cookie-banner-glass.full-width-top {
        left: 0;
        right: 0;
        border-radius: 0;
        padding-left: 16px;
        padding-right: 16px;
    }

    #cookie-banner-glass .cookie-buttons {
        display: flex;
        width: 100%;
        justify-content: flex-start;
        gap: 10px;
    }
}