/* ===================================
   SISTEMA DE COOKIES LGPD - EMBERSHIFT
   =================================== */

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    padding: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    border-top: 3px solid #3b82f6;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-text p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.95;
}

.cookie-text a {
    color: #fbbf24;
    text-decoration: underline;
    font-weight: 500;
}

.cookie-text a:hover {
    color: #f59e0b;
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-buttons button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    white-space: nowrap;
}

.btn-accept-all {
    background: #10b981;
    color: white;
}

.btn-accept-all:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-essential {
    background: #6b7280;
    color: white;
}

.btn-essential:hover {
    background: #4b5563;
    transform: translateY(-1px);
}

.btn-configure {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-configure:hover {
    background: white;
    color: #1e3a8a;
    transform: translateY(-1px);
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    backdrop-filter: blur(4px);
}

.cookie-modal.show {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

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

.cookie-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 650px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f9fafb;
    border-radius: 12px 12px 0 0;
}

.cookie-modal-header h2 {
    margin: 0;
    color: #1f2937;
    font-size: 1.3rem;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.close-modal:hover {
    background: #f3f4f6;
    color: #374151;
}

.cookie-modal-body {
    padding: 1.5rem;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding: 1.2rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.cookie-category:hover {
    border-color: #d1d5db;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.cookie-category h3 {
    margin: 0;
    color: #1f2937;
    font-size: 1.1rem;
    font-weight: 600;
}

.cookie-category p {
    margin: 0;
    color: #6b7280;
    font-size: 0.
    line-height: 1.5;
}

/* Toggle Swit
.cookie-switch {
    position: relative;


    height: 26px;
}

.cook
    opacity: 0;

    height: 0;
}

.s
    position: 
    cursor: 
    top: 0;
 
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    tr
    border-radius
}

.slider:before {

    content: "";
    height: 20px;
    width: 20
    left: 3px;
    
    background-color: white;
   
    border-radius: 50%;
    box-shadow: 0 2
}

input:checked + .slider {
    b
}

input:checked + .slid
    transform: translateX(26p
}

input:disabled + 
    background-color: 
    opacity: 0.6;
 
}

input:disabled 
    cursor: not-allowed;
}

.cookie-modal-footer {
    paddi
    border-top
 

    justify-conte
    background: #f9fafb;

}

.btn-save {
    bac
    color: white;
   
    border: none;

    cursor: pointer;
   
    transition: 
}

.btn-save:hover 
    background
    transform: translat
    box-shadow: 0 4px
}

.btn-reject {
 
 

    border: none
    border-radius: 
    cursor: pointer;
    font-w
    transition: all 0
}

.btn-reject:hover {
  
    transform: tran
 


/* Toast Notific
.cookie-toast {
  
    top: 20px;
  
    background: #10
 

    border-radius: 8px;

    z-index: 10002;
    tran
    transition: t
    max-width: 300px;
 
    line-height: 1.4;
}

.cookie-toast.sho
    transform: translateX(0);


.cookie-toast.error {
    background: #ef4444;
}

.cookie-toast.war
    background: #f59e0b;
}

.cookie-toast.
 


/* Cookie Settings Lin
.cookie-settings-link {

    text-decoration: none;
    f
    transition: color 0.2s ease;
}

.cookie-setting
 

}

/* Responsive
@media (max-width: 768px
    .cookie-banne
 

    
    .cookie-conte
        flex-direction: 
        text-align: center;
    
 

    .cookie-butt
        flex-direction: colu
        width: 10
    }
    
    .cookie-butto
 

    }
    
    .cookie
        width: 95%;
  
        max-height:
    }
    
    .cookie-modal-hea
 

    
    .cookie-m
        padding
    }
    
    .cook
        pad
        flex
    }
    
    .
        width: 10
    }
    
    .cookie-category {
 
    }
    
    .co
        flex-direction: 
        align-items: flex-st
        gap: 0.5rem
    }
    
    .cookie-toast {

 

        max-width: n
        transform:
    }
    
    .cookie-toast.show {

 


@media (max-width:
    .cooki
        padding: 0.
    }
    
   
        font-size: 
    }
 

        font-size: 0.9r
    }
    
    .cookie
        font-size: 0.85r
        padding: 0.75
    }
    
    
        font-size: 1.
    }
    
    .cooki
        font-size: 1rem;
    }
    
    .cookie
        font-size: 0.85rem;
    }
}


@

    .cookie-modal-co
    .cooki
    .slider,
    .slider:before,
   
        transition:
     
    }
}

/* High contrast mode */
@media (
    .cookie-banner 
     
 

    .cookie-category {
        border: 2px 
    }
    
    .slider {
        bord
    }
}

/* Print 
@media print {
    .cookie-banner,

    .cookie-toast {
    
    }
}
