.cookie-consent-modal {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 420px;
    background-color: #fff;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    z-index: 1001;
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
    visibility: hidden;
}

.cookie-consent-modal.visible {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.cookie-consent-modal.shake {
    animation: cookieShake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

.cookie-consent-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.4s ease-out;
    visibility: hidden;
}

.cookie-consent-overlay.visible {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 480px) {
    .cookie-consent-modal {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 20px;
    }
}

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

.cookie-consent-header .cookie-icon {
    width: 36px;
    height: 36px;
    background: hsl(0, 73%, 95%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cookie-consent-header .cookie-icon svg {
    width: 20px;
    height: 20px;
    color: hsl(0, 73%, 42%);
}

.cookie-consent-header h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #1a1a2e;
    font-family: 'Montserrat', sans-serif;
}

.cookie-consent-text {
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 18px;
    color: #666;
}

.cookie-consent-text a {
    color: hsl(0, 73%, 42%);
    text-decoration: underline;
    font-weight: 500;
}

.cookie-consent-text a:hover {
    color: hsl(0, 73%, 35%);
}

.cookie-consent-actions {
    display: flex;
    gap: 10px;
}

.cookie-consent-btn {
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    flex: 1;
    font-family: 'Inter', sans-serif;
}

.cookie-consent-btn-accept {
    background-color: hsl(220, 15%, 15%);
    color: #fff;
    border: none;
}

.cookie-consent-btn-accept:hover {
    background-color: hsl(220, 15%, 25%);
}

.cookie-consent-btn-reject {
    background-color: #fff;
    color: #333;
    border: 1px solid #e0e0e0;
}

.cookie-consent-btn-reject:hover {
    background-color: #f5f5f5;
}

@keyframes cookieShake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}
