/* cookies.css - Scoped & Safe for TechHub Centric */
.cookie-corner-container {
    position: fixed; bottom: 20px; left: 20px; width: 100%; max-width: 400px;
    display: none; z-index: 999999; filter: drop-shadow(0 10px 25px rgba(0,0,0,0.2));
}
.privacy-modal {
    background: white; padding: 25px; border-radius: 12px;
    border: 1px solid #eee; font-family: 'Segoe UI', Tahoma, sans-serif;
}
.privacy-modal h2 {
    font-size: 18px; color: #333; margin: 0 0 12px 0;
}
.privacy-modal p {
    font-size: 13px; color: #555; line-height: 1.5; margin-bottom: 10px;
}
.privacy-modal .small-text {
    font-size: 12px; color: #777;
}
.scroll-area {
    max-height: 300px; overflow-y: auto; margin: 15px 0;
    border-top: 1px solid #f0f0f0; padding-top: 10px;
}

/* Accordion Styling */
.cookie-cat { border-bottom: 1px solid #f9f9f9; }
.cat-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 0; cursor: pointer;
}
.cat-title {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 600;
}
.arrow {
    transition: 0.3s; color: #aaa; font-size: 18px; display: inline-block;
}
.cat-content {
    display: none; padding-bottom: 10px; padding-left: 20px;
    font-size: 11px; color: #888;
}
.status-active {
    color: #28a745; font-weight: bold; font-size: 11px;
}

/* Toggle Switch Styles */
.switch {
    position: relative; width: 34px; height: 18px; display: inline-block;
}
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
    position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0;
    background: #ddd; transition: .3s; border-radius: 20px;
}
.slider:before {
    position: absolute; content: ""; height: 12px; width: 12px;
    left: 3px; bottom: 3px; background: white; transition: .3s; border-radius: 50%;
}
input:checked + .slider { background: #000066; }
input:checked + .slider:before { transform: translateX(16px); }

/* Buttons */
.modal-buttons {
    display: flex; gap: 10px; margin-top: 15px;
}
.btn-outline {
    flex: 1; border: 2px solid #000066; color: #000066;
    background: white; padding: 10px; border-radius: 6px;
    font-weight: bold; cursor: pointer; font-size: 12px;
}
.btn-primary {
    flex: 1; border: 2px solid #000066; color: white;
    background: #000066; padding: 10px; border-radius: 6px;
    font-weight: bold; cursor: pointer; font-size: 12px;
}
.close-x {
    position: absolute; top: 12px; right: 15px;
    background: none; border: none; font-size: 20px;
    color: #ccc; cursor: pointer;
}

@media (max-width: 450px) {
    .cookie-corner-container {
        left: 10px; right: 10px; bottom: 10px;
        width: auto; max-width: none;
    }
}