/**
 * 쿠키 동의 배너 스타일
 * GDPR/LGPD 준수
 */

.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 99999;
    padding: 20px 0;
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
}

.cookie-consent-text {
    flex: 1;
}

.cookie-consent-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cookie-consent-title::before {
    content: '';
    font-size: 20px;
}

.cookie-consent-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.5;
}

.cookie-consent-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.cookie-consent-list li {
    font-size: 13px;
    color: #555;
    position: relative;
    padding-left: 16px;
}

.cookie-consent-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height: 6px;
    background: #4a90d9;
    border-radius: 50%;
}

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    align-items: center;
}

.cookie-btn {
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    white-space: nowrap;
}

.cookie-btn-decline {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
}

.cookie-btn-decline:hover {
    background: #eee;
    color: #333;
}

.cookie-btn-accept {
    background: #4a90d9;
    color: #fff;
}

.cookie-btn-accept:hover {
    background: #3a7bc8;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .cookie-consent-banner {
        padding: 16px 0;
    }

    .cookie-consent-content {
        flex-direction: column;
        gap: 16px;
    }

    .cookie-consent-title {
        font-size: 15px;
    }

    .cookie-consent-desc {
        font-size: 13px;
    }

    .cookie-consent-list {
        flex-direction: column;
        gap: 6px;
    }

    .cookie-consent-list li {
        font-size: 12px;
    }

    .cookie-consent-buttons {
        width: 100%;
        justify-content: flex-end;
    }

    .cookie-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* 다크모드 대응 (선택사항) */
@media (prefers-color-scheme: dark) {
    /* 현재는 라이트모드만 지원 */
}

/* 애니메이션 */
.cookie-consent-banner.show {
    animation: slideUp 0.3s ease-out;
}

.cookie-consent-banner.hide {
    animation: slideDown 0.3s ease-out forwards;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}
