﻿/* Banner de consentimiento de cookies (Views/Shared/_CookiesBanner.cshtml) */
.ne-cookie-banner[hidden],
.ne-cookie-modal[hidden],
.ne-cookie-reopen[hidden] {
    display: none !important;
}

.ne-cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2147483000;
    background: #fff;
    color: #333;
    border-top: 3px solid #1491e1;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, .15);
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.ne-cookie-banner__inner {
    max-width: 1170px;
    margin: 0 auto;
    padding: 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.ne-cookie-banner__text {
    flex: 1 1 480px;
}

.ne-cookie-banner p,
.ne-cookie-modal p {
    margin: 0 0 6px;
    color: #333;
}

.ne-cookie-title {
    font-family: 'Raleway', Arial, sans-serif;
    font-weight: 700;
    font-size: 16px;
}

.ne-cookie-banner a,
.ne-cookie-modal a {
    color: #1491e1;
    text-decoration: underline;
}

.ne-cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Los tres botones con el mismo peso visual: aceptar no se destaca sobre rechazar */
.ne-cookie-btn {
    min-width: 130px;
    padding: 9px 16px;
    border: 2px solid #1491e1;
    border-radius: 3px;
    background: #1491e1;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.ne-cookie-btn:hover,
.ne-cookie-btn:focus {
    background: #0f75b6;
    border-color: #0f75b6;
}

.ne-cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2147483001;
    background: rgba(0, 0, 0, .55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.ne-cookie-modal__box {
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: 100%;
    overflow-y: auto;
    background: #fff;
    color: #333;
    border-radius: 4px;
    padding: 24px;
}

.ne-cookie-close {
    position: absolute;
    top: 8px;
    right: 12px;
    border: 0;
    background: none;
    font-size: 26px;
    line-height: 1;
    color: #666;
    cursor: pointer;
}

.ne-cookie-option {
    border-top: 1px solid #e5e5e5;
    padding: 10px 0 4px;
}

.ne-cookie-option label {
    margin: 0;
    font-weight: normal;
    cursor: pointer;
}

.ne-cookie-option input {
    margin-right: 6px;
}

.ne-cookie-option strong {
    color: #333;
}

.ne-cookie-always {
    color: #888;
    font-size: 12px;
}

.ne-cookie-policy {
    border-top: 1px solid #e5e5e5;
    padding-top: 10px;
}

.ne-cookie-reopen {
    position: fixed;
    left: 12px;
    bottom: 12px;
    z-index: 2147482999;
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: #fff;
    color: #555;
    font-size: 12px;
    cursor: pointer;
    opacity: .85;
}

.ne-cookie-reopen:hover,
.ne-cookie-reopen:focus {
    opacity: 1;
}

@media (max-width: 767px) {
    .ne-cookie-actions {
        width: 100%;
    }

    .ne-cookie-btn {
        flex: 1 1 100%;
    }
}
