/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.95) 0%, rgba(52, 73, 94, 0.95) 100%);
    backdrop-filter: blur(10px);
    color: white;
    padding: 20px 0;
    z-index: 10000;
    border-top: 2px solid rgba(220, 20, 60, 0.3);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

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

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

.cookie-text {
    flex: 1;
}

.cookie-text p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #ecf0f1;
}

.cookie-text a {
    color: #9ACD32;
    text-decoration: none;
    font-weight: 500;
}

.cookie-text a:hover {
    text-decoration: underline;
}

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

.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
    min-width: 70px;
    white-space: nowrap;
}

.cookie-btn.accept {
    background: linear-gradient(135deg, #9ACD32 0%, #7CB342 100%);
    color: white;
}

.cookie-btn.accept:hover {
    background: linear-gradient(135deg, #7CB342 0%, #689F38 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(154, 205, 50, 0.3);
}

.cookie-btn.decline {
    background: transparent;
    color: #bdc3c7;
    border: 1px solid rgba(189, 195, 199, 0.3);
}

.cookie-btn.decline:hover {
    background: rgba(189, 195, 199, 0.1);
    color: white;
    border-color: rgba(189, 195, 199, 0.5);
}

.cookie-btn.customize {
    background: linear-gradient(135deg, #4169E1 0%, #1E40AF 100%);
    color: white;
}

.cookie-btn.customize:hover {
    background: linear-gradient(135deg, #1E40AF 0%, #1E3A8A 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(65, 105, 225, 0.3);
}

/* Cookie Customization Panel */
.cookie-customization {
    background: white;
    margin-top: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(220, 20, 60, 0.1);
}

.cookie-custom-content {
    padding: 25px;
}

.cookie-custom-content h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 600;
}

.cookie-category {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(220, 20, 60, 0.1);
}

.cookie-category:last-of-type {
    border-bottom: none;
    margin-bottom: 25px;
}

.cookie-category-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.cookie-category-header input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #4169E1;
}

.cookie-category-header label {
    font-weight: 500;
    color: #2c3e50;
    cursor: pointer;
}

.cookie-category p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
    padding-left: 28px;
}

.cookie-custom-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-text p {
        font-size: 0.9rem;
    }
    
    .cookie-buttons {
        justify-content: center;
        width: 100%;
    }
    
    .cookie-btn {
        flex: 1;
        max-width: 100px;
        font-size: 0.8rem;
        padding: 7px 12px;
    }
    
    .cookie-custom-content {
        padding: 20px;
    }
    
    .cookie-custom-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 15px 0;
    }
    
    .cookie-content {
        padding: 0 15px;
    }
    
    .cookie-text p {
        font-size: 0.85rem;
    }
    
    .cookie-btn {
        padding: 8px 16px;
        font-size: 0.75rem;
    }
    
    .cookie-custom-content {
        padding: 15px;
    }
    
    .cookie-category p {
        padding-left: 20px;
    }
}