img#ya-cookie {
    max-height: 25px;
}

img.trp-flag-image {
    height: 15px;
    width: auto;
}

.at-cookie a,
.at-cookie-container a,
.at-cookie-container p,
.at-cookie-container h2,
.at-cookie-text,
#at-cookie-banner strong {
    color: white !important;
}

.at-cookie-container a {
    text-decoration: underline;
}

.at-cookie-container  a:hover {
    color: var(--blue) !important;
}

a#cookie-settings-link {
    font-size: 12px;
}

.at-cookie-container {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.97);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 800px;
    left: 50%;
    z-index: 1000;
}

#at-cookie-banner {
    position: fixed;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    min-height: 80px;
    background-color: rgba(0, 0, 0, 0.97);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

#at-cookie-banner.show {
    visibility: visible;
    opacity: 1;
}

#at-cookie-modal {
    display: none;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 15px;
}

#at-cookie-modal.show {
    display: block;
}

.at-cookie-header {
    display: flex;
    justify-content: space-between;
    margin: 0 10px 10px 0;
}

.at-cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.at-cookie-buttons button {
    margin-top: 0;
}

.at-cookie-btn {
    flex: 1 1 auto;
}

#at-cookie-accept,
#at-cookie-accept-modal {
    background-color: var(--blue);
}

.at-cookie-toggle {
    display: flex;
    flex-direction: column;
    background: black;
    margin-bottom: 10px;
    padding: 5px;
    border-radius: 4px;
}

.at-cookie-toggle-header {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}

span.at-cookie-text {
    font-size: 15px;
    font-weight: bold;
}

.at-toggle-btn {
    margin-top: 0;
    margin-left: auto;
    background-color: transparent !important;
}

.at-toggle-btn:hover,
.at-toggle-btn:focus {
    background-color: transparent !important;
}

.at-toggle-slider {
    width: 40px;
    height: 20px;
    background-color: white;
    border-radius: 20px;
    position: relative;
    transition: 0.3s;
}

.at-toggle-slider::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    background-color: black;
    border-radius: 50%;
    top: 1px;
    left: 2px;
    transition: 0.3s;
}

.at-toggle-btn[aria-checked="true"] .at-toggle-slider {
    background-color: var(--blue);
}

.at-toggle-btn[aria-checked="true"] .at-toggle-slider::before {
    transform: translateX(18px);
}

.at-toggle-disabled {
    cursor: not-allowed;
}

.at-cookie-description {
    color: white;
    max-width: 85%;
}

.at-cookie-info {
    background-color: white;
    color: black;
    margin-top: 10px;
    max-height: 250px;
    overflow-y: auto;
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
}

.at-cookie-info-item:first-child {
    padding-top: 5px;
}

.at-cookie-info-item {
    display: grid;
    border-bottom: 1px solid black;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.at-cookie-info-item:last-child {
    border: none;
    margin-bottom: 0;
}

@media (min-width: 780px) {
    .at-cookie-info-item {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }
    .at-cookie-info-item .description {
        grid-column: 1 / -1;
        margin-top: 5px;
    }
}

.at-cookie-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: transparent;
    border: 2px solid white;
    color: white;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    margin-right: 8px;
    position: relative;
    user-select: none;
    pointer-events: auto;
    outline: none;
}

.at-cookie-info-icon::after {
    content: "i";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-weight: bold;
}

.at-cookie-info-icon:hover {
    background-color: white;
    color: black;
}

.at-cookie-info small,
.at-cookie-info a {
    font-size: 12px;
	color: black !important;
}

@media (max-width: 350px) {
    .at-cookie-header {
		display: none;
	}
}