/* assets/css/cookie.css */

/* Banner keret */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #2a2b2b;
    color: #ffffff;
    z-index: 99999;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
    padding: 20px 0;
    border-top: 1px solid #444;
    font-family: 'Roboto', sans-serif; /* Vagy a site fontja */
    display: none; /* Alapból rejtve, JS kezeli */
}

.cookie-banner-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.cookie-banner-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-banner-text a {
    color: #ffffff;
    text-decoration: underline;
}

.cookie-banner-buttons {
    display: flex;
    gap: 10px;
}

/* Gombok */
.cookie-btn {
    padding: 10px 24px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cookie-btn-accept {
    background: #ffffff;
    color: #2a2b2b;
}

.cookie-btn-accept:hover {
    background: #e0e0e0;
}

.cookie-btn-settings {
    border: 1px solid rgba(255,255,255,0.4);
    background: transparent;
    color: #ffffff;
}

.cookie-btn-settings:hover {
    border-color: #ffffff;
}

/* Modal (Felugró ablak) */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 100000;
    display: none; /* JS kezeli */
    align-items: center;
    justify-content: center;
}

.cookie-modal-content {
    background: #ffffff;
    color: #333333;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 15px;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #888888;
}

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

/* Toggle Switch */
.cookie-category-toggle {
    width: 48px; height: 26px; background: #cccccc; border-radius: 26px;
    position: relative; cursor: pointer; transition: background 0.3s ease;
}
.cookie-category-toggle.active { background: #4caf50; }
.cookie-category-toggle.disabled { opacity: 0.5; cursor: not-allowed; }
.cookie-category-toggle-slider {
    width: 22px; height: 22px; background: #ffffff; border-radius: 50%;
    position: absolute; top: 2px; left: 2px; transition: left 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}
.cookie-category-toggle.active .cookie-category-toggle-slider { left: 24px; }
.cookie-category-description { font-size: 13px; color: #666666; margin: 0; }
.cookie-modal-footer {
    display: flex; justify-content: flex-end; gap: 12px;
    margin-top: 25px; border-top: 1px solid #eeeeee; padding-top: 20px;
}
