
/* ========================================
   EDG Internacional - Popup de cookies
======================================== */

.edg-cookie-banner[hidden],
.edg-cookie-preferences[hidden] {
    display: none !important;
}

.edg-cookie-banner {
    position: fixed;
    z-index: 99999;
    left: 24px;
    right: 24px;
    bottom: 24px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 26px;
    color: #252525;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    font-family: inherit;
}

.edg-cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.edg-cookie-info {
    flex: 1;
}

.edg-cookie-info h2 {
    margin: 0 0 10px;
    color: #1c1c1c;
    font-size: 21px;
    font-weight: 700;
}

.edg-cookie-info p {
    margin: 0 0 12px;
    color: #555555;
    font-size: 14px;
    line-height: 1.7;
}

.edg-cookie-link {
    padding: 0;
    color: #174b78;
    background: transparent;
    border: none;
    font-size: 13px;
    text-decoration: underline;
    cursor: pointer;
}

.edg-cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.edg-cookie-btn {
    min-height: 44px;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.edg-cookie-btn-primary {
    color: #ffffff;
    background: #174b78;
    border-color: #174b78;
}

.edg-cookie-btn-primary:hover {
    background: #dc3545;
    border-color: #dc3545;
}

.edg-cookie-btn-secondary {
    color: #252525;
    background: #ffffff;
    border-color: #d1d5db;
}

.edg-cookie-btn-secondary:hover {
    background: #a0a0a0;
}

.edg-cookie-preferences {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #e5e7eb;
}

.edg-cookie-preferences h3 {
    margin: 0 0 14px;
    font-size: 17px;
}

.edg-cookie-preferences label {
    display: block;
    margin: 12px 0;
    color: #444444;
    font-size: 14px;
}

.edg-cookie-preferences input {
    margin-right: 8px;
}

.edg-cookie-preferences .edg-cookie-actions {
    margin-top: 16px;
}

@media (max-width: 700px) {
    .edg-cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 20px;
        max-height: 85vh;
        overflow-y: auto;
    }

    .edg-cookie-content {
        display: block;
    }

    .edg-cookie-info h2 {
        font-size: 19px;
    }

    .edg-cookie-actions {
        margin-top: 16px;
    }

    .edg-cookie-btn {
        flex: 1;
        padding: 11px 12px;
    }
}


/* Ajustes del aviso de cookies en móviles */
@media (max-width: 576px) {
  .edg-cookie-banner {
    left: 12px;
    right: 82px;
    bottom: 16px;
    width: auto;
    max-width: none;
    padding: 18px;
    box-sizing: border-box;
  }
}
