/**
 * CoreMonzzen - Life Hacks Information Portal
 * Cookie Consent Stylesheet
 */

/* Cookie Consent Container */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: none;
}

.cookie-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 1.5rem;
    color: #fff;
}

/* Cookie Header */
.cookie-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.cookie-header h3 {
    margin: 0;
    color: #fff;
    font-size: 1.3rem;
}

.cookie-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.cookie-close:hover {
    color: #fff;
}

/* Cookie Description */
.cookie-content p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Cookie Options */
.cookie-options {
    margin-bottom: 1.5rem;
}

.cookie-option {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

.cookie-option:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cookie-option input[type="checkbox"] {
    margin-top: 0.25rem;
    margin-right: 0.75rem;
    cursor: pointer;
}

.option-text {
    display: flex;
    flex-direction: column;
}

.option-text strong {
    margin-bottom: 0.25rem;
    color: #fff;
}

.option-text span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Cookie Buttons */
.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
}

.cookie-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.9rem;
}

/* Cookie Banner for Small Screens */
.cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    display: none;
}

.cookie-banner i {
    font-size: 1.2rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .cookie-content {
        padding: 1rem;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .cookie-btn {
        flex: 1;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .cookie-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
    }
    
    .cookie-option {
        padding: 0.5rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
}
