/* Cookie Consent Banner Styling */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 600px;
    background: rgba(19, 27, 46, 0.9);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.8);
    z-index: 9999;
    display: none;
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.cookie-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-text {
    font-size: 0.9rem;
    color: #9ca3af;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.cookie-text a {
    color: #3b82f6;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0rem;
}

.cookie-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #3b82f6, #10b981);
    color: white;
}

.cookie-btn-accept:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px -8px rgba(59, 130, 246, 0.5);
}

.cookie-btn-reject {
    background: rgba(255, 255, 255, 0.05);
    color: #f3f4f6;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie-btn-reject:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cookie-btn-settings {
    background: transparent;
    color: #9ca3af;
    text-decoration: underline;
}

.cookie-btn-settings:hover {
    color: #fff;
}

/* Modal de Personalização */
.cookie-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.cookie-modal-content {
    background: #131b2e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    padding: 2rem;
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.8);
}

.cookie-opt {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cookie-opt-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.25rem;
}

.cookie-opt-info p {
    font-size: 0.8rem;
    color: #9ca3af;
    line-height: 1.4;
}

/* Custom Switch Toggle */
.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 22px;
}

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

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #3b82f6;
}

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

input:disabled + .slider {
    background-color: #10b981;
    opacity: 0.7;
    cursor: not-allowed;
}
