/* Cookie Banner Styles */
.bcc-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2c3e50;
    color: #ffffff;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999999;
    animation: slideUp 0.3s ease-out;
}

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

.bcc-container {
    max-width: 1200px;
    margin: 0 auto;
}

.bcc-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.bcc-title {
    margin: 0;
    font-size: 1.5em;
    font-weight: 600;
    color: #ffffff;
}

.bcc-message {
    margin: 0;
    font-size: 0.95em;
    line-height: 1.5;
    color: #ecf0f1;
}

.bcc-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.bcc-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 0.95em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bcc-btn-primary {
    background: #3498db;
    color: #ffffff;
}

.bcc-btn-primary:hover {
    background: #2980b9;
}

.bcc-btn-secondary {
    background: #95a5a6;
    color: #ffffff;
}

.bcc-btn-secondary:hover {
    background: #7f8c8d;
}

.bcc-btn-link {
    background: transparent;
    color: #3498db;
    text-decoration: underline;
}

.bcc-btn-link:hover {
    color: #2980b9;
}

/* Modal Styles */
.bcc-modal {
    display: none;
    position: fixed;
    z-index: 1000000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease-out;
}

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

.bcc-modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.bcc-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
}

.bcc-close:hover,
.bcc-close:focus {
    color: #000;
}

.bcc-modal-title {
    margin: 0 0 20px 0;
    font-size: 1.5em;
    color: #2c3e50;
}

.bcc-cookie-category {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid #ecf0f1;
}

.bcc-cookie-category:last-of-type {
    border-bottom: none;
}

.bcc-category-info {
    flex: 1;
}

.bcc-category-info h4 {
    margin: 0 0 8px 0;
    font-size: 1.1em;
    color: #2c3e50;
}

.bcc-category-info p {
    margin: 0;
    font-size: 0.9em;
    color: #7f8c8d;
    line-height: 1.5;
}

/* Toggle Switch */
.bcc-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 3px;
}

.bcc-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.bcc-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 24px;
}

.bcc-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .bcc-slider {
    background-color: #3498db;
}

input:checked + .bcc-slider:before {
    transform: translateX(26px);
}

input:disabled + .bcc-slider {
    background-color: #3498db;
    opacity: 0.6;
    cursor: not-allowed;
}

.bcc-modal-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
}

.bcc-privacy-link {
    margin-top: 15px;
    text-align: center;
}

.bcc-privacy-link a {
    color: #3498db;
    text-decoration: none;
    font-size: 0.9em;
}

.bcc-privacy-link a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .bcc-banner {
        padding: 15px;
    }
    
    .bcc-title {
        font-size: 1.2em;
    }
    
    .bcc-message {
        font-size: 0.9em;
    }
    
    .bcc-buttons {
        flex-direction: column;
    }
    
    .bcc-btn {
        width: 100%;
        text-align: center;
    }
    
    .bcc-modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 20px;
    }
    
    .bcc-cookie-category {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .bcc-modal-content {
        margin: 5% auto;
    }
    
    .bcc-modal-title {
        font-size: 1.2em;
    }
}
