/* _content/NextBroker/Pages/Shared/_Layout.cshtml.rz.scp.css */

/* Cookie Consent Styles */
.cookie-consent[b-oxhx1d1ngb] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #333;
    color: #fff;
    padding: 15px;
    text-align: center;
    display: none; /* Hidden by default */
    z-index: 1000; /* Ensure it appears above other elements */
}

.cookie-consent a[b-oxhx1d1ngb] {
    color: #ffd700;
    text-decoration: underline;
}

.cookie-consent button[b-oxhx1d1ngb] {
    background-color: #ffd700;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    margin-left: 10px;
}

.cookie-consent-modal[b-oxhx1d1ngb] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    color: #333;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: none;
    max-width: 85%; /* Slightly reduced maximum width */
    width: 350px; /* Smaller default width */
    max-height: 80vh; /* Reduced maximum height */
    overflow-y: auto;
}

.cookie-consent-content[b-oxhx1d1ngb] {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.cookie-consent-text[b-oxhx1d1ngb] {
    background-color: #f0f0f0; /* Light gray background */
    border-radius: 15px; /* Rounded corners */
    padding: 20px; /* Add some padding */
    max-width: 90%; /* Ensure it doesn't get too wide */
    margin: 0 auto 20px; /* Center the content and add space below */
    text-align: center; /* Center the text */
}

.cookie-consent-modal h2[b-oxhx1d1ngb],
.cookie-consent-modal .halk-cookies-title[b-oxhx1d1ngb] {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: #003366; /* Assuming this is your main heading color. Adjust if different */
}

.cookie-consent-modal p[b-oxhx1d1ngb] {
    margin-bottom: 10px;
    font-size: 0.9em;
}

.cookie-consent-buttons[b-oxhx1d1ngb] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px; /* Small gap between buttons */
}

.cookie-consent-modal button[b-oxhx1d1ngb] {
    background-color: rgba(76, 175, 80, 0.7);
    color: #003366;
    border: none;
    border-radius: 25px;
    padding: 12px 0;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, border-radius 0.3s ease;
    width: 240px;
    text-align: center;
    font-weight: bold;
    margin: 0; /* Remove any default margin */
}

.cookie-consent-modal button:hover[b-oxhx1d1ngb] {
    background-color: rgba(0, 51, 102, 0.3);
    transform: scale(1.05);
    border-radius: 25px;
}

#cookieSettings[b-oxhx1d1ngb], #acceptCookies[b-oxhx1d1ngb] {
    background-color: rgba(76, 175, 80, 0.7);
}

#acceptCookies[b-oxhx1d1ngb] {
    color: #003366 !important;
}

#acceptCookies:hover[b-oxhx1d1ngb] {
    color: #003366 !important;
}

/* Adjust for smaller screens */
@media (max-width: 768px) {
    .cookie-consent-modal button[b-oxhx1d1ngb] {
        width: 100%;
        font-size: 16px;
        padding: 10px 0;
    }
}

/* Toggle Switch Styles */
.switch[b-oxhx1d1ngb] {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    float: right;
}

.switch input[b-oxhx1d1ngb] {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider[b-oxhx1d1ngb] {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.slider[b-oxhx1d1ngb]:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider[b-oxhx1d1ngb] {
    background-color: #4CAF50; /* Changed to green */
}

input:checked + .slider[b-oxhx1d1ngb]:before {
    transform: translateX(26px);
}

.cookie-overlay[b-oxhx1d1ngb] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    z-index: 999; /* Below the modal */
    display: none; /* Hidden by default */
}

/* Cookie Settings Modal Styles */
.settings-modal[b-oxhx1d1ngb] {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    overflow: auto;
}

.settings-content[b-oxhx1d1ngb] {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
}

.close-button[b-oxhx1d1ngb] {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

.cookie-section[b-oxhx1d1ngb] {
    background-color: #f0f0f0; /* Light gray background */
    border-radius: 15px; /* Rounded edges */
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cookie-description[b-oxhx1d1ngb] {
    flex: 1;
    padding-right: 20px;
}

.cookie-description h3[b-oxhx1d1ngb] {
    margin-top: 0;
    color: #003366;
}

.cookie-description p[b-oxhx1d1ngb] {
    margin-bottom: 0;
    font-size: 0.9em;
}

.switch[b-oxhx1d1ngb] {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Adjust font sizes for smaller screens */
@media (max-width: 768px) {
    .cookie-consent-modal[b-oxhx1d1ngb] {
        width: 95%; /* Full width on small screens */
        padding: 15px;
    }

    .cookie-consent-modal h2[b-oxhx1d1ngb],
    .cookie-consent-modal .halk-cookies-title[b-oxhx1d1ngb] {
        font-size: 1.4em;
    }

    .cookie-description h3[b-oxhx1d1ngb] {
        font-size: 1.1em;
    }

    .cookie-description p[b-oxhx1d1ngb] {
        font-size: 0.8em;
    }

    .cookie-consent-modal button[b-oxhx1d1ngb] {
        width: 100%; /* Full width buttons on small screens */
        font-size: 16px;
    }
}

.cookie-consent-modal[b-oxhx1d1ngb],
.cookie-consent-modal *[b-oxhx1d1ngb] {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif !important;
}

.cookie-consent-text[b-oxhx1d1ngb],
.cookie-consent-buttons[b-oxhx1d1ngb],
.cookie-section[b-oxhx1d1ngb],
.cookie-description[b-oxhx1d1ngb] {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif !important;
}

.cookie-section[b-oxhx1d1ngb] {
    width: 100%;
    margin-bottom: 12px;
    padding: 10px;
}

.cookie-description h3[b-oxhx1d1ngb] {
    font-size: 1em;
    margin-top: 0;
    margin-bottom: 5px;
}

.cookie-description p[b-oxhx1d1ngb] {
    font-size: 0.8em;
    margin-bottom: 5px;
}

.switch[b-oxhx1d1ngb] {
    transform: scale(0.8); /* Make the toggle switch slightly smaller */
}

.cookie-consent-modal button[b-oxhx1d1ngb] {
    padding: 8px 15px;
    font-size: 0.9em;
}

/* Adjust for even smaller screens */
@media (max-width: 480px) {
    .cookie-consent-modal[b-oxhx1d1ngb] {
        width: 90%;
        padding: 10px;
    }

    .cookie-consent-modal h2[b-oxhx1d1ngb],
    .cookie-consent-modal .halk-cookies-title[b-oxhx1d1ngb] {
        font-size: 1.2em;
    }

    .cookie-description h3[b-oxhx1d1ngb] {
        font-size: 0.9em;
    }

    .cookie-description p[b-oxhx1d1ngb] {
        font-size: 0.75em;
    }

    .cookie-consent-modal button[b-oxhx1d1ngb] {
        width: 100%;
        font-size: 0.85em;
    }
}

