/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(45, 55, 72, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 20px;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

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

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-banner-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
    font-family: 'Noto Sans JP', sans-serif;
}

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

.cookie-banner-text a:hover {
    color: white;
}

.cookie-banner-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
    min-width: 80px;
}

.cookie-btn-customize {
    background-color: #6b7280;
    color: white;
}

.cookie-btn-customize:hover {
    background-color: #4b5563;
    transform: translateY(-1px);
}

.cookie-btn-accept {
    background-color: #4338ca;
    color: white;
}

.cookie-btn-accept:hover {
    background-color: #3730a3;
    transform: translateY(-1px);
}

.cookie-btn-decline {
    background-color: transparent;
    color: white;
    border: 1px solid #cbd5e0;
}

.cookie-btn-decline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Cookie Preferences Modal */
.cookie-preferences {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-preferences.show {
    display: flex;
}

.cookie-preferences-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-preferences h3 {
    font-family: 'Noto Serif JP', serif;
    color: #4338ca;
    margin-bottom: 20px;
}

.cookie-option {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #e5e5dc;
    border-radius: 8px;
}

.cookie-option label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    cursor: pointer;
}

.cookie-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.cookie-option p {
    margin-top: 8px;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.cookie-preferences-buttons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    justify-content: flex-end;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 16px;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .cookie-banner-buttons {
        justify-content: center;
        width: 100%;
    }
    
    .cookie-btn {
        flex: 1;
        max-width: 120px;
    }

    .cookie-preferences-content {
        padding: 20px;
        margin: 10px;
    }

    .cookie-preferences-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .cookie-banner-text {
        font-size: 13px;
    }
    
    .cookie-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}