/* Modal de consentimiento de YouTube */
.yt-consent-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 101;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.yt-consent-modal-content {
    background-color: #ffffff;
    border-radius: 0;
    padding: 24px;
    max-width: 600px;
    width: 600px;
    text-align: left;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.yt-consent-modal-icon {
    display: none;
}

.yt-consent-modal-title {
    color: #005199;
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: 40px;
    margin: 0 0 20px 0;
    text-align: left;
}

.yt-consent-modal-text {
    color: #00205B;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    margin: 0 0 30px 0;
}

.yt-consent-modal-text a {
    color: #005199;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.yt-consent-modal-text a:hover {
    color: #003d73;
}

.yt-consent-modal-actions {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    margin-top: 30px;
}

.yt-consent-btn {
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 500;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    flex: 0 0 auto;
}

.yt-consent-btn-accept {
    background-color: #005199;
    color: #ffffff;
}

.yt-consent-btn-accept:hover {
    background-color: #003d73;
    box-shadow: 0 2px 8px rgba(0, 81, 153, 0.4);
}

.yt-consent-btn-reject {
    background-color: #005199;
    color: #ffffff;
}

.yt-consent-btn-reject:hover {
    background-color: #003d73;
    box-shadow: 0 2px 8px rgba(0, 81, 153, 0.4);
}

.yt-consent-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: 2px solid #005199;
    font-size: 24px;
    color: #005199;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    transition: all 0.2s ease;
}

.yt-consent-modal-close:hover {
    background-color: #005199;
    color: #ffffff;
}

/* Responsive */
@media (max-width: 650px) {
    .yt-consent-modal-content {
        padding: 24px;
        width: 90%;
        max-width: 90%;
    }

    .yt-consent-modal-title {
        font-size: 24px;
        line-height: 32px;
    }

    .yt-consent-modal-text {
        font-size: 14px;
        line-height: 20px;
    }

    .yt-consent-modal-actions {
        flex-direction: column;
        gap: 12px;
    }

    .yt-consent-btn {
        width: 100%;
    }
}