/* Cookie Consent Styles - freelotto.club */

/* Overlay background blur */
#cookieConsentOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 99998;
    display: none;
    animation: fadeIn 0.3s ease-in;
}

/* Main popup container */
#cookieConsentPopup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 99999;
    max-width: 500px;
    width: 90%;
    display: none;
    animation: slideIn 0.3s ease-out;
	overflow:hidden;
}

/* Popup heading */
#cookieConsentHeader {
	display:flex;
	gap:2em;
	justify-content:space-between;
	align-items:center;
	padding:0 10px 0 30px;
}
#cookieConsentPopup .cookie-logo { width:30%; margin-left:-1.5%; padding-top:20px; }
#cookieConsentPopup .cookie-logo img { display:block; width:100%; }

#cookieConsentPopup h2 {
    margin: 0 0 15px 0;
    font-size: 24px;
    color: #333;
    font-weight: 600;
}
#cookieConsentContent {
	margin: 0 30px 30px 30px;
	padding-top:20px;
	border-top: 1px dashed #CCC;
}
/* Popup text */
#cookieConsentPopup p {
    margin: 0 0 20px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* Privacy policy link */
#cookieConsentPopup a {
    color: #0066cc;
    text-decoration: none;
}

#cookieConsentPopup a:hover {
    text-decoration: underline;
}

/* Button container */
.cookie-buttons {
    display: flex;
	flex-direction:column;
    gap: 10px;
    margin-top: 25px;
}

/* Base button styles */
.cookie-btn {
    flex: 1;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Accept button */
.cookie-btn-accept {
    background: #10b981;
    color: white;
	order:1;
}

.cookie-btn-accept:hover {
    background: #059669;
}

/* Reject button */
.cookie-btn-reject {
    background: #f3f4f6;
    color: #374151;
	order:2;
}

.cookie-btn-reject:hover {
    background: #e5e7eb;
}

/* Cookie Settings Button (bottom-left corner) */
#cookieSettings {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 48px;
    height: 48px;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transition: all 0.3s ease;
}

#cookieSettings:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

#cookieSettings svg {
    width: 24px;
    height: 24px;
    fill: #666;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -45%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Mobile responsive */
@media (max-width: 480px) {
    #cookieConsentPopup {
        width: 95%;
        padding: 20px;
    }
    
    #cookieConsentPopup h2 {
        font-size: 20px;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
}