/**
 * Cookie Consent Banner Styles
 * Likvidace aut Písek
 */

#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.3s ease;
    border-top: 3px solid #e74c3c;
}

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

.cookie-consent-text h3 {
    margin: 0 0 10px 0;
    font-size: 1.2em;
    color: #ffffff;
    font-weight: 600;
}

.cookie-consent-text p {
    margin: 0;
    font-size: 0.95em;
    line-height: 1.6;
    color: #e0e0e0;
}

.cookie-consent-text a {
    color: #e74c3c;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s ease;
}

.cookie-consent-text a:hover {
    color: #ff6b5a;
}

.cookie-consent-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 0.95em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-accept {
    background: #e74c3c;
    color: #ffffff;
}

.cookie-accept:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
}

.cookie-reject {
    background: transparent;
    color: #ffffff;
    border: 2px solid #555;
}

.cookie-reject:hover {
    background: #555;
    border-color: #777;
    transform: translateY(-2px);
}

/* Mobilní responzivita */
@media screen and (max-width: 768px) {
    #cookie-consent-banner {
        padding: 16px;
    }

    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .cookie-consent-text h3 {
        font-size: 1.1em;
    }

    .cookie-consent-text p {
        font-size: 0.9em;
    }

    .cookie-consent-buttons {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .cookie-btn {
        width: 100%;
        padding: 14px 20px;
    }
}

@media screen and (max-width: 480px) {
    #cookie-consent-banner {
        padding: 12px;
    }

    .cookie-consent-text h3 {
        font-size: 1em;
    }

    .cookie-consent-text p {
        font-size: 0.85em;
    }

    .cookie-btn {
        font-size: 0.9em;
        padding: 12px 16px;
    }
}

/* Animace při načtení */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#cookie-consent-banner {
    animation: slideUp 0.4s ease-out;
}

/* Dark mode friendly */
@media (prefers-color-scheme: dark) {
    #cookie-consent-banner {
        background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
        border-top-color: #e74c3c;
    }
}

/* Přístupnost - focus states */
.cookie-btn:focus {
    outline: 3px solid #e74c3c;
    outline-offset: 2px;
}

.cookie-consent-text a:focus {
    outline: 2px solid #e74c3c;
    outline-offset: 2px;
}

/* Print - skrýt při tisku */
@media print {
    #cookie-consent-banner {
        display: none !important;
    }
}
