/* ===== COOKIE BANNER STYLES ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    padding: 1.5rem 0;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    border-top: 3px solid #DCAC3A;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-banner__content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1;
}

.cookie-banner__icon {
    font-size: 2rem;
    color: #DCAC3A;
    margin-top: 0.25rem;
}

.cookie-banner__text {
    flex: 1;
}

.cookie-banner__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.cookie-banner__description {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #e0e0e0;
    margin: 0;
}

.cookie-banner__link {
    color: #DCAC3A;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s ease;
}

.cookie-banner__link:hover {
    color: #f4c430;
}

.cookie-banner__actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-banner__btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    min-width: 100px;
}

.cookie-banner__btn--reject {
    background: transparent;
    color: #ffffff;
    border: 2px solid #666;
}

.cookie-banner__btn--reject:hover {
    background: #666;
    border-color: #666;
}

.cookie-banner__btn--settings {
    background: transparent;
    color: #DCAC3A;
    border: 2px solid #DCAC3A;
}

.cookie-banner__btn--settings:hover {
    background: #DCAC3A;
    color: #1a1a1a;
}

.cookie-banner__btn--accept {
    background: #DCAC3A;
    color: #1a1a1a;
    border: 2px solid #DCAC3A;
}

.cookie-banner__btn--accept:hover {
    background: #f4c430;
    border-color: #f4c430;
}

/* ===== COOKIE MODAL STYLES ===== */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.cookie-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.cookie-modal__content {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.cookie-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.cookie-modal__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.cookie-modal__close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.cookie-modal__close:hover {
    background: #f0f0f0;
    color: #1a1a1a;
}

.cookie-modal__body {
    padding: 2rem;
}

.cookie-modal__description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.cookie-modal__categories {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cookie-modal__optional-categories {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .cookie-modal__optional-categories {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

.cookie-category {
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background: #fafafa;
}

.cookie-category__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.cookie-category__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.cookie-category__description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Toggle Switch */
.cookie-category__toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-category__toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-category__slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.cookie-category__slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-category__toggle input:checked + .cookie-category__slider {
    background-color: #DCAC3A;
}

.cookie-category__toggle input:checked + .cookie-category__slider:before {
    transform: translateX(26px);
}

.cookie-category__toggle input:disabled + .cookie-category__slider {
    background-color: #DCAC3A;
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-modal__footer {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding: 1rem 2rem 2rem;
    border-top: 1px solid #e0e0e0;
}

.cookie-modal__btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.cookie-modal__btn--secondary {
    background: transparent;
    color: #666;
    border: 2px solid #e0e0e0;
}

.cookie-modal__btn--secondary:hover {
    background: #f0f0f0;
    border-color: #ccc;
}

.cookie-modal__btn--primary {
    background: #DCAC3A;
    color: #1a1a1a;
    border: 2px solid #DCAC3A;
}

.cookie-modal__btn--primary:hover {
    background: #f4c430;
    border-color: #f4c430;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .cookie-banner__container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .cookie-banner__content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .cookie-banner__actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .cookie-banner__btn {
        flex: 1;
        min-width: 120px;
    }

    .cookie-modal__content {
        margin: 1rem;
        max-height: calc(100vh - 2rem);
        max-width: calc(100vw - 2rem);
    }

    .cookie-modal__header,
    .cookie-modal__body,
    .cookie-modal__footer {
        padding: 1.5rem;
    }

    .cookie-modal__footer {
        flex-direction: column;
    }

    .cookie-modal__btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 1rem 0;
    }

    .cookie-banner__container {
        padding: 0 0.75rem;
    }

    .cookie-banner__btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        min-width: 90px;
    }

    .cookie-modal__content {
        margin: 0.5rem;
        border-radius: 12px;
        max-width: calc(100vw - 1rem);
    }

    .cookie-modal__header,
    .cookie-modal__body,
    .cookie-modal__footer {
        padding: 1rem;
    }
}

/* ===== ACCESSIBILITY ===== */
.cookie-banner__btn:focus,
.cookie-modal__btn:focus,
.cookie-modal__close:focus {
    outline: 2px solid #DCAC3A;
    outline-offset: 2px;
}

.cookie-category__toggle input:focus + .cookie-category__slider {
    box-shadow: 0 0 0 2px #DCAC3A;
}

/* ===== COOKIE POLICY PAGE STYLES ===== */
.cookie-policy {
    padding: 6rem 0 4rem 0;
    background: #fafafa;
    min-height: 80vh;
    margin-top: 2rem;
}

.cookie-policy__header {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 2rem;
}

.cookie-policy__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.cookie-policy__subtitle {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

.cookie-policy__content {
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.cookie-policy__section {
    margin-bottom: 2.5rem;
}

.cookie-policy__section:last-child {
    margin-bottom: 0;
}

.cookie-policy__section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #DCAC3A;
}

.cookie-policy__text {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 1rem;
}

.cookie-policy__categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.cookie-policy__categories-horizontal {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 1rem;
}

.cookie-policy__category {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    border-left: 4px solid #DCAC3A;
}

.cookie-policy__category-row {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    border-left: 4px solid #DCAC3A;
    width: 100%;
    box-sizing: border-box;
}

.cookie-policy__category-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.cookie-policy__list {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.cookie-policy__list li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: #333;
}

.cookie-policy__browser-guide {
    background: #e8f4fd;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.cookie-policy__browser-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.cookie-policy__browser-list {
    margin: 0;
    padding-left: 1.5rem;
}

.cookie-policy__browser-list li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: #333;
}

.cookie-policy__contact {
    background: #f0f8f0;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.cookie-policy__contact p {
    margin-bottom: 0.5rem;
    color: #333;
}

.cookie-policy__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.cookie-policy__btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-width: 200px;
}

.cookie-policy__btn--primary {
    background: #DCAC3A;
    color: #1a1a1a;
    border: 2px solid #DCAC3A;
}

.cookie-policy__btn--primary:hover {
    background: #f4c430;
    border-color: #f4c430;
    transform: translateY(-2px);
}

.cookie-policy__btn--secondary {
    background: transparent;
    color: #666;
    border: 2px solid #e0e0e0;
}

.cookie-policy__btn--secondary:hover {
    background: #f0f0f0;
    border-color: #ccc;
    transform: translateY(-2px);
}

/* ===== RESPONSIVE DESIGN FOR POLICY PAGE ===== */
@media (max-width: 1024px) {
    .cookie-policy__content {
        max-width: 1000px;
    }
    
    .cookie-policy__categories {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .cookie-policy__categories-horizontal {
        gap: 1.5rem;
    }
    
    .cookie-policy__category-row {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .cookie-policy {
        padding: 4rem 0 2rem 0;
        margin-top: 1rem;
    }

    .cookie-policy__title {
        font-size: 2rem;
    }

    .cookie-policy__content {
        margin: 0 1rem;
        padding: 2rem;
        max-width: 100%;
    }

    .cookie-policy__categories {
        grid-template-columns: 1fr;
    }
    
    .cookie-policy__categories-horizontal {
        gap: 1rem;
    }
    
    .cookie-policy__category-row {
        padding: 1.25rem;
    }

    .cookie-policy__actions {
        flex-direction: column;
        align-items: center;
    }

    .cookie-policy__btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .cookie-policy__content {
        padding: 1.5rem;
    }

    .cookie-policy__title {
        font-size: 1.75rem;
    }

    .cookie-policy__section-title {
        font-size: 1.25rem;
    }
    
    .cookie-policy__category-row {
        padding: 1rem;
    }
    
    .cookie-policy__categories-horizontal {
        gap: 0.75rem;
    }
}

/* ===== ANIMATIONS ===== */
.cookie-banner {
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-modal.show .cookie-modal__content {
    animation: modalSlideIn 0.3s ease-out;
}
