/* Clarity Cookie Consent Banner Styles */

.ccc-banner {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 999999;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    display: none;
}

.ccc-banner.bottom {
    bottom: 0;
}

.ccc-banner.top {
    top: 0;
}

.ccc-banner.dark {
    background-color: #2c3e50;
    color: #ffffff;
}

.ccc-banner.light {
    background-color: #ffffff;
    color: #2c3e50;
    border-top: 1px solid #e0e0e0;
}

.ccc-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.ccc-banner-text {
    flex: 1;
    min-width: 300px;
}

.ccc-banner-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ccc-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.ccc-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.ccc-btn-accept {
    background-color: #27ae60;
    color: white;
}

.ccc-btn-accept:hover {
    background-color: #219a52;
}

.ccc-btn-decline {
    background-color: #e74c3c;
    color: white;
}

.ccc-btn-decline:hover {
    background-color: #c0392b;
}

.ccc-btn-settings {
    background-color: transparent;
    color: inherit;
    border: 1px solid currentColor;
}

.ccc-btn-settings:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Modal Styles */
.ccc-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000000;
    display: none;
    justify-content: center;
    align-items: center;
}

.ccc-modal-content {
    background-color: white;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.ccc-modal-header {
    padding: 20px 20px 0 20px;
    border-bottom: 1px solid #e0e0e0;
}

.ccc-modal-header h2 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-size: 24px;
}

.ccc-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #7f8c8d;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ccc-modal-close:hover {
    color: #2c3e50;
}

.ccc-modal-body {
    padding: 20px;
}

.ccc-cookie-category {
    margin-bottom: 25px;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
}

.ccc-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.ccc-category-title {
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.ccc-toggle {
    position: relative;
    width: 50px;
    height: 24px;
}

.ccc-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.ccc-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 24px;
    transition: 0.4s;
}

.ccc-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: 0.4s;
}

.ccc-toggle input:checked + .ccc-toggle-slider {
    background-color: #27ae60;
}

.ccc-toggle input:checked + .ccc-toggle-slider:before {
    transform: translateX(26px);
}

.ccc-toggle input:disabled + .ccc-toggle-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.ccc-category-description {
    color: #7f8c8d;
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
}

.ccc-modal-footer {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ccc-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .ccc-banner-text {
        min-width: auto;
    }
    
    .ccc-banner-buttons {
        justify-content: center;
        width: 100%;
    }
    
    .ccc-btn {
        flex: 1;
        min-width: 120px;
    }
    
    .ccc-modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .ccc-modal-footer {
        flex-direction: column;
    }
    
    .ccc-modal-footer .ccc-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .ccc-banner {
        padding: 15px;
    }
    
    .ccc-banner-buttons {
        flex-direction: column;
    }
    
    .ccc-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* Animation */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.ccc-banner.bottom {
    animation: slideUp 0.5s ease-out;
}

.ccc-banner.top {
    animation: slideDown 0.5s ease-out;
}

.ccc-modal {
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
