/**
 * ACINET Cookie Consent Styles
 */

#cc-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

#cc-banner.show {
    opacity: 1;
    visibility: visible;
}

.cc-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
}

.cc-modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 480px;
    width: calc(100% - 32px);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

.cc-header {
    padding: 24px 24px 16px;
    border-bottom: 1px solid #e5e7eb;
}

.cc-header h4 {
    margin: 0 0 8px;
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
}

.cc-header p {
    margin: 0;
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
}

.cc-body {
    padding: 16px 24px;
}

.cc-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
}

.cc-option:last-child {
    border-bottom: none;
}

.cc-option input {
    display: none;
}

.cc-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    background: #d1d5db;
    border-radius: 12px;
    flex-shrink: 0;
    transition: background 0.2s;
}

.cc-toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    transition: transform 0.2s;
}

.cc-option input:checked + .cc-toggle {
    background: #0d6efd;
}

.cc-option input:checked + .cc-toggle::after {
    transform: translateX(20px);
}

.cc-option input:disabled + .cc-toggle {
    background: #0d6efd;
    opacity: 0.6;
    cursor: not-allowed;
}

.cc-info {
    flex: 1;
}

.cc-info strong {
    display: block;
    font-size: 0.9375rem;
    color: #111827;
    margin-bottom: 2px;
}

.cc-info small {
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.4;
}

.cc-footer {
    display: flex;
    gap: 8px;
    padding: 16px 24px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.cc-btn {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.cc-btn-primary {
    background: #0d6efd;
    color: #fff;
}

.cc-btn-primary:hover {
    background: #0b5ed7;
}

.cc-btn-secondary {
    background: #fff;
    color: #374151;
    border: 1px solid #d1d5db;
}

.cc-btn-secondary:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.cc-links {
    padding: 12px 24px 20px;
    text-align: center;
    font-size: 0.8125rem;
}

.cc-links a {
    color: #6b7280;
    text-decoration: none;
}

.cc-links a:hover {
    color: #0d6efd;
    text-decoration: underline;
}

/* Mobile */
@media (max-width: 480px) {
    .cc-modal {
        top: auto;
        bottom: 0;
        left: 0;
        transform: none;
        width: 100%;
        max-width: 100%;
        border-radius: 16px 16px 0 0;
        max-height: 90vh;
    }
    
    .cc-footer {
        flex-wrap: wrap;
    }
    
    .cc-btn {
        min-width: calc(50% - 4px);
    }
    
    .cc-btn-primary {
        width: 100%;
        order: -1;
        margin-bottom: 4px;
    }
}
