/* Cookie Consent Popup Styles */
.cookie-consent-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 3px solid #000179;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 16px 20px;
    max-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.cookie-consent-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    gap: 20px;
}

.cookie-consent-info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.cookie-consent-icon {
    color: #000179;
    font-size: 24px;
    flex-shrink: 0;
}

.cookie-consent-text {
    flex: 1;
}

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

.cookie-consent-text p {
    font-size: 14px;
    line-height: 1.4;
    color: #4a4a4a;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.cookie-consent-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-accept-btn,
.cookie-decline-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}

.cookie-accept-btn {
    background: #000179;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 1, 121, 0.3);
}

.cookie-accept-btn:hover {
    background: #0000a0;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 1, 121, 0.4);
}

.cookie-decline-btn {
    background: #f8f9fa;
    color: #4a4a4a;
    border: 1px solid #e9ecef;
}

.cookie-decline-btn:hover {
    background: #e9ecef;
    color: #2a2a2a;
}

.cookie-close-btn {
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.cookie-close-btn:hover {
    background: #f8f9fa;
    color: #4a4a4a;
    transform: scale(1.1);
}

.cookie-policy-links {
    display: flex;
    gap: 16px;
    margin-left: 16px;
}

.cookie-policy-link {
    color: #000179;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: color 0.3s ease;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}

.cookie-policy-link:hover {
    color: #0000a0;
    text-decoration: underline;
}

/* Cookie Notifications */
.cookie-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 400px;
    border-left: 4px solid;
}

.cookie-notification.show {
    transform: translateX(0);
}

.cookie-notification.success {
    border-left-color: #28a745;
}

.cookie-notification.success i {
    color: #28a745;
}

.cookie-notification.info {
    border-left-color: #17a2b8;
}

.cookie-notification.info i {
    color: #17a2b8;
}

.cookie-notification span {
    flex: 1;
    font-size: 14px;
    color: #4a4a4a;
    font-family: 'Inter', sans-serif;
}

.notification-close {
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.notification-close:hover {
    background: #f8f9fa;
    color: #4a4a4a;
}

/* Favorite Button Styles */
.favorite-btn,
.article-favorite-btn {
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.favorite-btn:hover,
.article-favorite-btn:hover {
    background: rgba(0, 1, 121, 0.1);
    color: #000179;
    transform: scale(1.1);
}

.favorite-btn.favorited,
.article-favorite-btn.favorited {
    color: #dc3545;
    animation: heartBeat 0.6s ease;
}

@keyframes heartBeat {
    0% {
        transform: scale(1);
    }
    14% {
        transform: scale(1.3);
    }
    28% {
        transform: scale(1);
    }
    42% {
        transform: scale(1.3);
    }
    70% {
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-consent-popup {
        padding: 12px 16px;
        max-height: 140px;
    }
    
    .cookie-consent-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .cookie-consent-info {
        flex-direction: column;
        gap: 8px;
    }
    
    .cookie-consent-text h3 {
        font-size: 14px;
    }
    
    .cookie-consent-text p {
        font-size: 12px;
    }
    
    .cookie-consent-actions {
        gap: 8px;
    }
    
    .cookie-accept-btn,
    .cookie-decline-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .cookie-policy-links {
        margin-left: 0;
        justify-content: center;
        gap: 12px;
    }
    
    .cookie-policy-link {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .cookie-consent-popup {
        padding: 10px 12px;
        max-height: 160px;
    }
    
    .cookie-consent-content {
        gap: 10px;
    }
    
    .cookie-consent-text h3 {
        font-size: 13px;
    }
    
    .cookie-consent-text p {
        font-size: 11px;
    }
    
    .cookie-consent-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cookie-accept-btn,
    .cookie-decline-btn {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    .cookie-close-btn {
        padding: 6px;
        font-size: 16px;
    }
}
