/* Cookie Consent Styles */
.cookie-consent-dialog {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    border-radius: 0;
    box-shadow: 0 -4px 16px 0 rgba(0, 0, 0, 0.05);
    padding: 0;
    display: none;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    box-sizing: border-box;
    max-width: none;
    transform: none;
    animation: slideUpFadeIn 0.5s ease-out forwards;
    opacity: 0;
}

@keyframes slideUpFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-consent-dialog .constraint {}

.cookie-consent-dialog .constraint .add-padding .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: calc(var(--default-items-margin, 16px) * 2);
    flex-wrap: wrap;
    padding: calc(var(--default-padding-frame) / 1.5) var(--default-padding-frame);
}

.cookie-consent-content p {
    margin: 0 0 var(--default-items-margin, 16px) 0;
    font-size: 14px;
    max-width: 700px;
    line-height: 1.5;
    color: #5e5e5e;
}

.cookie-consent-links {
    display: flex;
    gap: 16px;
}

.cookie-consent-links a {
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    color: #1e1e1e;
    border-bottom: 1px solid transparent;
    transition: all 250ms ease-in-out;
}

.cookie-consent-links a:hover {
    color: #db0031;
    border-bottom: 1px solid #db0031;
}

.cookie-consent-dialog .action {
    display: flex;
    flex-direction: row;
    gap: var(--default-items-margin, 16px);
    justify-content: end;
    flex-wrap: wrap;
    align-items: center;
    flex-grow: 1;
}

.cookie-consent-dialog .action .button {
    white-space: nowrap;
    flex-grow: 1;
}

.button.button-secondary {
    background-color: transparent;
    border: 1px solid #db0031;
    color: #db0031;
    transition: all 250ms ease-in-out;
}

.button.button-secondary:hover {
    background-color: #db0031;
    color: #fff;
    box-shadow: 0 0 12px 0 #00000030;
}

#manage-cookies-btn {
    border: none;
    color: #000;
}

#manage-cookies-btn:hover {
    background-color: unset;
    text-decoration: underline;
    color: #db0031;
    box-shadow: unset;
}

.manage-cookies-text {
    display: none;
}

.manage-cookies-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Manage Cookies Dialog Styles */
.cookie-manage-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-shade-dark-300, rgba(0, 0, 0, 0.5));
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--default-padding-frame, 32px);
    box-sizing: border-box;
}

.general-dialog-card {
    background-color: #fff;
    border-radius: 0;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 0 16px 0 #00000026;
    display: flex;
    flex-direction: column;
    animation: fadeInScaleUp 0.3s ease-out forwards;
}

@keyframes fadeInScaleUp {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.general-dialog-card .dialogContainerCloseBtn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e1e1e;
    transition: background-color 0.2s, color 0.2s;
}

.general-dialog-card .dialogContainerCloseBtn:hover {
    background-color: #f5f5f5;
    color: #db0031;
}

.general-dialog-card .tittle {
    padding: 32px 32px 16px;
    border-bottom: 1px solid var(--default-input-border-color, #e8e8e8);
}

.general-dialog-card .tittle h2 {
    margin: 0;
    font-size: 24px;
}

.general-dialog-card .dialog-content {
    padding: 32px;
}

.general-dialog-card .dialog-content p {
    line-height: 1.5;
    color: #5e5e5e;
}

.cookie-type-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cookie-type-item {
    background-color: var(--surface-hover-bg-color, #f4f4f4);
    padding: 24px;
    border-radius: 0;
}

.cookie-type-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.cookie-type-header h3 {
    margin: 0;
    font-size: 18px;
    color: #1e1e1e;
}

.cookie-type-item p {
    margin: 0;
    font-size: 14px;
    color: #5e5e5e;
}

/* Toggle Switch Styles */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.toggle-slider {
    background-color: #db0031;
}

input:focus+.toggle-slider {
    box-shadow: 0 0 1px #db0031;
}

input:checked+.toggle-slider:before {
    transform: translateX(22px);
}

input:disabled+.toggle-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.inline-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
}

@media (max-width: 768px) {
    .cookie-consent-dialog .constraint .add-padding .container {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-consent-dialog .action {
        flex-direction: column;
        justify-content: stretch;
    }

    .cookie-consent-dialog .action .button {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .manage-cookies-text {
        display: inline;
    }

    .manage-cookies-icon {
        display: none;
    }

    .general-dialog-card .tittle,
    .general-dialog-card .dialog-content {
        padding: 24px;
    }

    .cookie-type-item {
        padding: 16px;
    }
}

.logo-column-contact-contaienr {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.logo-column-contact-contaienr a {
    display: flex;
    gap: 8px;
    color: var(--color-shade-dark-800);
    text-decoration: none;
    position: relative;
}

.logo-column-contact-contaienr a .go-icon-cont {}