/* Cookie Consent Banner Stilovi */

/* Overlay preko cijele stranice */
#cookie-consent-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    backdrop-filter: blur(3px);
}

/* Cookie consent banner */
#cookie-consent-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 25px 20px;
    border-top: 3px solid #3498db;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Container unutar bannera */
.cookie-consent-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

/* Sadržaj teksta */
.cookie-consent-content {
    flex: 1;
    min-width: 300px;
}

.cookie-consent-content h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
    color: #2c3e50;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-consent-content h3 i {
    color: #3498db;
    font-size: 24px;
}

.cookie-consent-content p {
    margin: 0 0 10px 0;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

.cookie-consent-content p strong {
    color: #2c3e50;
}

/* Link za detalje */
.cookie-details-link {
    color: #3498db;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.cookie-details-link:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Dugmad */
.cookie-consent-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-consent-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cookie-accept-btn {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.cookie-accept-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(52, 152, 219, 0.4);
}

.cookie-decline-btn {
    background: white;
    color: #555;
    border: 2px solid #ddd;
}

.cookie-decline-btn:hover {
    background: #f8f9fa;
    border-color: #999;
    color: #333;
}

/* Responsivnost */
@media (max-width: 768px) {
    #cookie-consent-banner {
        padding: 20px 15px;
    }

    .cookie-consent-container {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-consent-content h3 {
        font-size: 18px;
    }

    .cookie-consent-content p {
        font-size: 14px;
    }

    .cookie-consent-actions {
        justify-content: stretch;
        width: 100%;
    }

    .cookie-consent-btn {
        flex: 1;
        padding: 14px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .cookie-consent-actions {
        flex-direction: column;
    }

    .cookie-consent-btn {
        width: 100%;
    }
}

/* Dodatni stilovi za blokirane sadržaje */
.blocked-content {
    position: relative;
    background: #f8f9fa;
    border: 2px dashed #ddd;
    padding: 40px 20px;
    text-align: center;
    border-radius: 8px;
    margin: 20px 0;
}

.blocked-content::before {
    content: '\f023';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 48px;
    color: #bbb;
    display: block;
    margin-bottom: 15px;
}

.blocked-content-message {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

.blocked-content-message strong {
    color: #2c3e50;
    display: block;
    margin-bottom: 5px;
}
