.cookie-consent-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    animation: fadeIn 0.3s ease-out;
}

.cookie-consent-banner * {
    box-sizing: border-box;
}

.cookie-consent-content {
    background: #ffffff;
    border-radius: 12px;
    padding: 32px;
    width: 90%;
    max-width: 600px;
    min-width: 320px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border: 1px solid #e0e0e0;
    position: relative;
    animation: slideIn 0.3s ease-out 0.1s both;
}

.cookie-consent-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.cookie-consent-tab {
    flex: 1;
    padding: 12px 16px;
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    color: #666;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.cookie-consent-tab.active {
    color: #333;
    border-bottom-color: #007cba;
    font-weight: 600;
}

.cookie-consent-tab:hover {
    background: #f8f9fa;
}

.cookie-consent-tab-content {
    display: none;
}

.cookie-consent-tab-content.active {
    display: block;
}

.cookie-consent-text {
    text-align: center;
    margin-bottom: 24px;
}

.cookie-consent-text h3 {
    margin: 0 0 16px 0;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

.cookie-consent-text p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: #555;
}

.cookie-details {
    text-align: left;
}

.cookie-category {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.cookie-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.cookie-category h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.cookie-category p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.cookie-consent-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 140px;
    position: relative;
    overflow: hidden;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    order: 2;
    flex: 1.5;
    font-size: 18px;
    padding: 16px 32px;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.cookie-btn-accept:hover {
    background: linear-gradient(135deg, #218838, #1ba085);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.cookie-btn-decline {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
    order: 1;
    flex: 1;
    font-size: 14px;
}

.cookie-btn-decline:hover {
    background: #e9ecef;
    color: #5a6268;
}

.cookie-consent-fade-out {
    animation: fadeOut 0.3s ease-in forwards;
}

.cookie-consent-icon {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: #007cba;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 999999;
    transition: all 0.2s ease;
    animation: bounceIn 0.5s ease-out;
}

.cookie-consent-icon:hover {
    background: #005a87;
    transform: scale(1.1);
}

.cookie-consent-icon:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

.cookie-icon-content {
    font-size: 24px;
    color: white;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to { 
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes bounceIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@media (max-width: 768px) {
    .cookie-consent-banner {
        padding: 15px;
    }

    .cookie-consent-content {
        padding: 24px;
        width: 95%;
    }

    .cookie-consent-text h3 {
        font-size: 20px;
    }

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

    .cookie-consent-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .cookie-btn {
        width: 100%;
        min-width: auto;
    }

    .cookie-btn-accept {
        order: 1;
        font-size: 16px;
        padding: 16px;
    }

    .cookie-btn-decline {
        order: 2;
        font-size: 14px;
        padding: 12px;
    }
}