/* Banner de Cookies */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    padding: 20px 5%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.5s ease-out;
}

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text h3 {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--tech-blue);
}

.cookie-text p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

.cookie-text a {
    color: var(--tech-blue);
    text-decoration: none;
    font-weight: 500;
}

.cookie-text a:hover {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 12px 25px;
    border-radius: 30px;
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.95rem;
}

.cookie-btn.accept {
    background: linear-gradient(135deg, var(--tech-blue) 0%, var(--innovation-purple) 100%);
    color: white;
}

.cookie-btn.accept:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.cookie-btn.reject {
    background: rgba(26, 42, 79, 0.4);
    border: 1px solid var(--border-color);
    color: var(--text-light);
}

.cookie-btn.reject:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-3px);
}

.cookie-btn.settings {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--border-color);
}

.cookie-btn.settings:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-3px);
}

/* Modal de Configurações de Cookies */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 20, 40, 0.9);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.cookie-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.5s ease;
}

.cookie-modal.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.modal-header h2 {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.8rem;
    color: var(--tech-blue);
}

.close-modal {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--tech-blue);
}

.cookie-options {
    margin-bottom: 30px;
}

.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.option-info h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: white;
}

.option-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(26, 42, 79, 0.4);
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: var(--text-light);
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background: linear-gradient(135deg, var(--tech-blue) 0%, var(--innovation-purple) 100%);
}

input:checked+.slider:before {
    transform: translateX(26px);
}

.modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.save-btn {
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--tech-blue) 0%, var(--innovation-purple) 100%);
    color: white;
    border: none;
    border-radius: 30px;
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.save-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}