/* === KLAXIT COOKIE CONSENT — Custom Theme === */
.cc-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
	margin: 0 auto;
}

.cc-box {
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.cc-title {
    padding: 1.25rem 1.5rem;
    background: #1a1a2e;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
}

.cc-section-landing,
.cc-section-settings {
    padding: 1.5rem;
}

.cc-description {
    color: #444;
    margin-bottom: 1.25rem;
}

.cc-description a {
    color: #2563eb;
    text-decoration: underline;
}

.cc-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.cc-btn {
    padding: 0.6rem 1.25rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    flex: 1;
    min-width: 120px;
    text-align: center;
}

.cc-btn-accept {
    background: #16a34a;
    color: #fff;
}
.cc-btn-accept:hover {
    background: #15803d;
}

.cc-btn-reject {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}
.cc-btn-reject:hover {
    background: #e5e7eb;
}

.cc-btn-show-settings {
    background: transparent;
    color: #2563eb;
    text-decoration: underline;
    flex: 1 1 100%;
    margin-top: 0.25rem;
}

.cc-btn-hide-settings {
    background: transparent;
    color: #6b7280;
}

/* Settings Section */
.cc-section-settings {
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.cc-categories {
    margin-bottom: 1rem;
}

.cc-category {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    transition: border-color 0.2s;
}

.cc-category:hover {
    border-color: #93c5fd;
}

.cc-category input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #16a34a;
}

.cc-category-content {
    flex: 1;
}

.cc-category-label {
    font-weight: 600;
    color: #111827;
    display: block;
    margin-bottom: 0.25rem;
}

.cc-category-description {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0;
}

.cc-category.mandatory {
    opacity: 0.75;
}

.cc-category.mandatory .cc-category-label::after {
    content: " (Required)";
    font-weight: 400;
    font-size: 0.75rem;
    color: #9ca3af;
}

.cc-hidden {
    display: none !important;
}

.cc-noselect {
    user-select: none;
    -webkit-user-select: none;
}

/* === Адаптивность === */
@media (max-width: 640px) {
    .cc-container {
        padding: 0.5rem;
    }
    
    .cc-box {
        border-radius: 10px;
    }
    
    .cc-title {
        padding: 1rem 1.25rem;
        font-size: 1rem;
    }
    
    .cc-section-landing,
    .cc-section-settings {
        padding: 1.25rem;
    }
    
    .cc-buttons {
        flex-direction: column;
		width: 100%;
    }
    
    .cc-btn {
        width: 100%;
        min-width: 0;
		margin-left: 0 !important;
    }
}