:root {
    --cookie-primary: #1f2937;
    --cookie-accept: #2563eb;
    --cookie-bg: #ffffff;
    --cookie-border: #e5e7eb;
    --cookie-muted: #6b7280;
    --cookie-radius: 10px;
    --cookie-shadow: 0 10px 30px rgba(0,0,0,0.15);
    --cookie-transition: all 0.25s ease;
/*    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;*/
}

/* Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--cookie-bg);
    border-top: 1px solid var(--cookie-border);
    box-shadow: var(--cookie-shadow);
    padding: 20px;
    z-index: 9999;
    display: none;
    animation: slideUp 0.3s ease forwards;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.cookie-container {
    max-width: 1100px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.cookie-text {
    flex: 1 1 400px;
    color: var(--cookie-primary);
    font-size: 14px;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.cookie-button {
    padding: 5px 10px;
    border-radius: var(--cookie-radius);
    background: var(--cookie-accept);
    border: none;
    color: white;
    cursor: pointer;
    font-size: 14px;
    transition: var(--cookie-transition);
}


.cookie-button:hover {
    opacity: 0.9;
}

/* Modal */

.cookie-modal-content {
    display: none;
    flex-direction: column;
    position:fixed;
    bottom: 10px;
    left: 0;
    max-width: 600px;
    max-height: 50%;
    width: 95%;
    background: white;
    border-radius: var(--cookie-radius);
    padding: 25px;
    box-shadow: var(--cookie-shadow);
    animation: cookie-fadeIn 0.2s ease forwards;
    overflow-y: auto;
    overflow-x: auto;
}

@keyframes cookie-fadeIn {
    from { opacity: 0; transform: translateY(10px);}
    to { opacity: 1; transform: translateY(0);}
}

.cookie-modal-header {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
}

.cookie-category {
    border-top: 1px solid var(--cookie-border);
    padding: 15px 0;
}

.cookie-category label {
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-category p {
    font-size: 13px;
    color: var(--cookie-muted);
    margin-top: 5px;
}

.cookie-modal-actions {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Floating Settings Button */
#cookie-settings-btn {
	position: fixed;
	bottom: 5px;
	left: 5px;
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  color: blue;
  border: blue 2px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
	z-index: 9998;
}

#cookie-settings-btn:hover {
  animation: rotateCookieBtn 0.3s both;
}

@keyframes rotateCookieBtn {
    from { transform: RotateZ(0deg);}
    to { transform: RotateZ(90deg);}
}

/* Responsive */
@media (max-width: 600px) {
    .cookies-container {
        flex-direction: column;
        align-items: flex-start;
    }
    .cookies-buttons {
        width: 100%;
        justify-content: flex-start;
    }
    .cookie-modal-content{
        max-width: 300px;
    }
}
