/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 3-ott-2016, 11.21.55
    Author     : pubbliSHARK
*/

/* Modern Cookie Banner Styles */
#cookie_policy {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999999999;
    background: transparent;
    box-sizing: border-box;
    transition: opacity .2s ease, transform .2s ease;
}

#cookie_policy .container {
    padding: 0 16px 16px 16px;
}

#cookie_row.cookie-inner {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 16px;
    background: #111827; /* gray-900 */
    color: #F9FAFB; /* gray-50 */
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 -8px 24px rgba(0,0,0,0.2);
    border-radius: 12px;
    padding: 16px;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.cookie-title {
    font-size: 16px;
    line-height: 1.4;
    font-weight: 600;
}

#cookie_policy_txt.cookie-text {
    font-size: 14px;
    line-height: 1.5;
    color: #E5E7EB; /* gray-200 */
}

.cookie-links { margin-top: 4px; }
.cookie-link {
    color: #93C5FD; /* blue-300 */
    text-decoration: underline;
}
.cookie-link:hover, .cookie-link:focus { color: #BFDBFE; outline: none; }

.cookie-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.cookie-btn { 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.cookie-btn:focus { outline: 2px solid #60A5FA; outline-offset: 2px; }

.cookie-btn.primary { background: #10B981; color: #06281b; }
.cookie-btn.primary:hover { background: #0ea371; }

.cookie-btn.secondary { background: #1F2937; color: #F9FAFB; border-color: #374151; }
.cookie-btn.secondary:hover { background: #374151; }

.cookie-btn.ghost { background: transparent; color: #F9FAFB; border-color: #4B5563; }
.cookie-btn.ghost:hover { background: rgba(255,255,255,0.06); }

@media (max-width: 768px) {
  #cookie_row.cookie-inner {
    flex-direction: column;
  }
  .cookie-actions { justify-content: stretch; }
  .cookie-btn { flex: 1; }
}