/* Estilos para páginas de política */

.policy-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    min-height: calc(100vh - 200px);
}

.policy-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.policy-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #5f16f1, #bb4ae7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.last-updated {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-style: italic;
}

.policy-content {
    color: white;
    line-height: 1.6;
}

.policy-section {
    margin-bottom: 30px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 4px solid #bb4ae7;
}

.policy-section h2 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.policy-section h3 {
    color: #beb8b8;
    font-size: 1.4rem;
    margin-bottom: 10px;
    margin-top: 20px;
    font-weight: 600;
}

.policy-section p {
    margin-bottom: 15px;
    text-align: justify;
}

.policy-section ul {
    margin: 15px 0;
    padding-left: 20px;
}

.policy-section li {
    margin-bottom: 8px;
    list-style-type: disc;
}

.policy-section li strong {
    color: #ff69b4;
}

/* Tabela de cookies */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.cookie-table th,
.cookie-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-table th {
    background-color: rgba(255, 105, 180, 0.3);
    color: #ff69b4;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.cookie-table td {
    color: rgba(255, 255, 255, 0.9);
}

.cookie-table tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Responsividade */
@media (max-width: 768px) {
    .policy-container {
        margin: 10px;
        padding: 15px;
    }
    
    .policy-header h1 {
        font-size: 2.5rem;
    }
    
    .policy-section {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .policy-section h2 {
        font-size: 1.5rem;
    }
    
    .policy-section h3 {
        font-size: 1.2rem;
    }
    
    .cookie-table {
        font-size: 0.9rem;
    }
    
    .cookie-table th,
    .cookie-table td {
        padding: 8px 10px;
    }
}

@media (max-width: 480px) {
    .policy-header h1 {
        font-size: 2rem;
    }
    
    .policy-section h2 {
        font-size: 1.3rem;
    }
    
    .policy-section h3 {
        font-size: 1.1rem;
    }
    
    .cookie-table {
        font-size: 0.8rem;
    }
    
    .cookie-table th,
    .cookie-table td {
        padding: 6px 8px;
    }
    
    /* Tabela responsiva para telas muito pequenas */
    .cookie-table,
    .cookie-table thead,
    .cookie-table tbody,
    .cookie-table th,
    .cookie-table td,
    .cookie-table tr {
        display: block;
    }
    
    .cookie-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    .cookie-table tr {
        border: 1px solid rgba(255, 255, 255, 0.2);
        margin-bottom: 10px;
        padding: 10px;
        border-radius: 5px;
        background-color: rgba(255, 255, 255, 0.05);
    }
    
    .cookie-table td {
        border: none;
        position: relative;
        padding-left: 50%;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    
    .cookie-table td:before {
        content: attr(data-label) ": ";
        position: absolute;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        color: #ff69b4;
        font-weight: bold;
    }
}

