/* Cookie Popup Styles */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
}

.cookie-popup.active {
    bottom: 0;
    opacity: 1;
    visibility: visible;
}

.cookie-popup__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.cookie-popup__content {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.cookie-popup__text {
    flex: 1;
    min-width: 0;
}

.cookie-popup__title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    font-family: 'Gilroy', sans-serif;
}

.cookie-popup__description {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    margin: 0;
    font-family: 'Gilroy', sans-serif;
}

.cookie-popup__details {
    margin-top: 12px;
}

.cookie-popup__details-btn {
    background: none;
    border: none;
    color: #FF6B00;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    font-family: 'Gilroy', sans-serif;
    transition: color 0.2s ease;
}

.cookie-popup__details-btn:hover {
    color: #5a67d8;
}

.cookie-popup__arrow {
    transition: transform 0.2s ease;
}

.cookie-popup__details-content {
    display: none;
    margin-top: 16px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.cookie-types {
    display: grid;
    gap: 16px;
}

.cookie-type h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 6px 0;
    font-family: 'Gilroy', sans-serif;
}

.cookie-type p {
    font-size: 13px;
    color: #666;
    margin: 0 0 8px 0;
    font-family: 'Gilroy', sans-serif;
}

.cookie-type ul {
    margin: 0;
    padding-left: 16px;
    font-size: 13px;
    color: #666;
}

.cookie-type li {
    margin-bottom: 4px;
    font-family: 'Gilroy', sans-serif;
}

.cookie-popup__actions {
    flex-shrink: 0;
    display: flex;
    gap: 8px;
}

.cookie-popup__button {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-family: 'Gilroy', sans-serif;
    text-align: center;
    white-space: nowrap;
}

.cookie-popup__button--accept {
    background-color: #FF6B00;
    color: white;
}

.cookie-popup__button--accept:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
    background-color: #e55a00;
}

.cookie-popup__button--settings {
    background: #f8f9fa;
    color: #495057;
    border: 1px solid #dee2e6;
}

.cookie-popup__button--settings:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.cookie-popup__button--decline {
    background: transparent;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

.cookie-popup__button--decline:hover {
    background: #f8f9fa;
    color: #495057;
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-settings-modal.active {
    opacity: 1;
    visibility: visible;
}

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

.cookie-settings-modal__content {
    position: relative;
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.cookie-settings-modal__header {
    padding: 24px 24px 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 16px;
    margin-bottom: 24px;
}

.cookie-settings-modal__header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    font-family: 'Gilroy', sans-serif;
}

.cookie-settings-modal__close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    color: #6c757d;
    transition: all 0.2s ease;
}

.cookie-settings-modal__close:hover {
    background: #f8f9fa;
    color: #495057;
}

.cookie-settings-modal__body {
    padding: 0 24px;
}

.cookie-settings-modal__description {
    font-size: 14px;
    color: #666;
    margin: 0 0 24px 0;
    font-family: 'Gilroy', sans-serif;
}

.cookie-setting {
    margin-bottom: 24px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

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

.cookie-setting h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    font-family: 'Gilroy', sans-serif;
}

.cookie-setting p {
    font-size: 14px;
    color: #666;
    margin: 0 0 8px 0;
    font-family: 'Gilroy', sans-serif;
}

.cookie-setting__services {
    font-size: 12px;
    color: #6c757d;
    font-style: italic;
}

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

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

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

.cookie-toggle__slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cookie-toggle input:checked + .cookie-toggle__slider {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.cookie-toggle input:checked + .cookie-toggle__slider:before {
    transform: translateX(24px);
}

.cookie-toggle--disabled {
    opacity: 0.6;
    pointer-events: none;
}

.cookie-toggle--disabled .cookie-toggle__slider {
    background-color: #28a745;
}

.cookie-settings-modal__footer {
    padding: 24px;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cookie-popup__content {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
        text-align: center;
    }
    
    .cookie-popup__actions {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-popup__button {
        min-width: 140px;
    }
    
    .cookie-settings-modal__content {
        width: 95%;
        margin: 20px;
    }
    
    .cookie-settings-modal__header,
    .cookie-settings-modal__body,
    .cookie-settings-modal__footer {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .cookie-setting {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .cookie-popup__actions {
        width: 100%;
    }
    
    .cookie-popup__button {
        width: 100%;
        max-width: 200px;
    }
    
    .cookie-popup__title {
        font-size: 18px;
    }
    
    .cookie-popup__description {
        font-size: 13px;
    }
} 