.ittheme-consent[hidden] {
    display: none !important;
}

.ittheme-consent {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    z-index: 100000;
    color: #202124;
    font-family: Arial, sans-serif;
}

.ittheme-consent__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    max-width: 72rem;
    margin: 0 auto;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 0.5rem;
    background: #fff;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.22);
}

.ittheme-consent__text p {
    margin: 0.25rem 0;
}

.ittheme-consent__text a,
.ittheme-cookie-settings {
    text-decoration: underline;
}

.ittheme-consent__actions {
    display: flex;
    flex: 0 0 auto;
    gap: 0.75rem;
}

.ittheme-consent__button {
    min-height: 2.75rem;
    padding: 0.625rem 1rem;
    border: 1px solid #1f5f8b;
    border-radius: 0.25rem;
    cursor: pointer;
    font: inherit;
}

.ittheme-consent__button--primary {
    color: #fff;
    background: #1f5f8b;
}

.ittheme-consent__button--secondary {
    color: #1f5f8b;
    background: #fff;
}

.ittheme-consent__button:focus,
.ittheme-cookie-settings:focus {
    outline: 3px solid rgba(31, 95, 139, 0.35);
    outline-offset: 2px;
}

.ittheme-cookie-settings {
    padding: 0;
    border: 0;
    color: inherit;
    background: transparent;
    cursor: pointer;
    font: inherit;
}

@media (max-width: 767px) {
    .ittheme-consent {
        right: 0.5rem;
        bottom: 0.5rem;
        left: 0.5rem;
    }

    .ittheme-consent__content,
    .ittheme-consent__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .ittheme-consent__content {
        gap: 1rem;
        max-height: calc(100vh - 1rem);
        overflow: auto;
    }
}
