/* General Banner Styles */
#cookie-consent-banner {
    font-family: Arial, sans-serif;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    padding: 1.25rem;
}

#cookie-consent-banner[data-hidden="true"],
#cookie-consent-overlay[data-hidden="true"] {
    display: none;
}

#cookie-consent-banner .scrollable-content {
    overflow-y: auto;
    max-height: calc(90vh - 40px);
    padding-right: 1rem;
    position: relative;
}

#cookie-consent-banner .scrollable-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2.5rem;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    pointer-events: none;
    z-index: 1;
}

#cookie-logo-separator {
    margin: 1.25rem auto;
    border: 0;
    border-top: 1px solid black;
    min-width: 80%;
}

#cookie-logo img {
    display: block;
    margin: 0 auto;
    max-width: 300px;
    width: 100%;
}

.consent-text {
    color: black;
    margin-right: 1rem;
    font-size: 16px;
    font-weight: bold;
}

#cookie-consent-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

.cookie-title {
    text-align: center;
    font-size: 20px;
    padding: 0.625rem;
    margin: 0;
    font-weight: bold;
    border-radius: 8px 8px 0 0;
}

p.consent-text {
    text-align: center;
    color: black;
    margin: 1.25rem 0;
    font-size: 16px;
    font-weight: 100;
}

.consent-buttons {
    display: flex;
    justify-content: center;
    gap: 0.625rem;
    margin: 10px 0;
}

.cookie-consent-button {
    flex: 1;
    max-width: 45%;
    padding: 0.625rem;
    font-size: 16px;
    text-align: center;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    border: none;
}

.cookie-consent-button.btn-success:hover {
    background-color: #f57f1e;
}

.cookie-settings {
    margin-top: 1.25rem;
    display: none;
    padding: 0 1.875rem 5vh;
    max-height: 50vh;
    overflow-y: auto;
}

.checkbox-wrapper-6 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.checkbox-content {
    display: flex;
    align-items: center;
	margin-bottom: 5px;
}

.tgl-flip {
    display: none!important;
}

.tgl-flip + .tgl-btn {
    padding: 10px;
    transition: all 0.2s ease;
    perspective: 100px;
    position: relative;
    width: 60px;
    height: 1.5em;
    display: inline-block;
    cursor: pointer;
    border-radius: 1.5em;
    overflow: hidden;
    margin-right: 0.625rem;
}

.tgl-flip + .tgl-btn:before,
.tgl-flip + .tgl-btn:after {
    display: inline-block;
    position: absolute;
    line-height: 1.5em;
    width: 100%;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: white;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    border-radius: 1.5em;
    transition: transform 0.3s ease;
}

.tgl-flip + .tgl-btn:before {
    content: attr(data-tg-off);
    background: #ff3a19;
}

.tgl-flip + .tgl-btn:after {
    content: attr(data-tg-on);
    background: #02c66f;
    transform: rotateY(180deg);
}

.tgl-flip:checked + .tgl-btn:before {
    transform: rotateY(180deg);
}

.tgl-flip:checked + .tgl-btn:after {
    transform: rotateY(0);
}

.tgl-flip + .tgl-disabled {
    background: #7fc6a6;
    cursor: not-allowed;
}


.description {
    color: #666;
    font-size: 16px;
    line-height: 1.4;
}

#btn-accept-some {
    min-width: 100%;
    background-color: #ff9233;
    color: white;
    font-size: 16px;
    padding: 0.75rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

#btn-accept-some:hover {
    background-color: #f57f1e;
}

#cookie-image {
    position: fixed;
    bottom: 10px;
    left: 10px;
    width: 64px;
    height: 64px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 9999;
}

@media (max-width: 768px) {
    #cookie-consent-banner {
        max-height: 90vh;
        padding: 0.625rem;
		  display: flex;
  flex-direction: column;
    }

    #cookie-settings {
        max-height: 50vh;
        padding-bottom: 5vh;
        padding-top: 1.25rem;
    }

    .cookie-title {
        font-size: 16px;
    }

    p.consent-text {
        font-size: 14px;
    }
	
	.scrollable-content {
    flex: 1 1 auto;
    overflow-y: auto;
    min-height: 0;
    max-height: 100%; 
    padding-right: 1rem;
}
	
	#cookie-consent-banner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    overflow: hidden; 
}
	
	#btn-accept-all{
		padding:5px !important;
	}
		#btn-settings{
		padding:5px !important;
	}

    .cookie-consent-button {
        font-size: 12px !important;
        padding: 0.5rem;
    }
	.description{
		font-size:14px;
	}

    .consent-buttons {
        gap: 0.625rem;
    }
}
