/* =========================================
   DISEÑO DE TÉRMINOS Y CONDICIONES
   ========================================= */


body {
    margin: 0;
    padding: 0;
    background-color: #020b16; 
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}


.paper-container {
    background-color: #ffffff;
    width: 90%;
    max-width: 800px;
    margin: 50px auto;
    padding: 60px;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5); 
    position: relative; 
    
   
    animation: slideUpFade 0.6s ease-out;
}


.close-x {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;     
    color: #ccc;          
    text-decoration: none;
    line-height: 1;
    font-weight: 300;
    transition: all 0.3s ease;
    z-index: 10;
}

.close-x:hover {
    color: #ff4d4d; 
    transform: rotate(90deg); 
    cursor: pointer;
}


.paper-header {
    text-align: center;
    border-bottom: 2px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.logo-small {
    font-size: 1rem;
    color: #001f3f;
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
}

.paper-header h1 {
    color: #001f3f; 
    font-size: 2.5rem;
    margin: 0;
}

.last-update {
    color: #888;
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 10px;
}


.paper-content {
    color: #444; 
    line-height: 1.8;
    font-size: 1rem;
    text-align: justify;
}

.paper-content h3 {
    color: #003366;
    margin-top: 30px;
    margin-bottom: 15px;
    border-left: 4px solid var(--accent-cyan); 
    padding-left: 15px;
}

.paper-content ul {
    margin-bottom: 20px;
    padding-left: 40px;
}

.paper-content li {
    margin-bottom: 8px;
}

.paper-content hr {
    border: 0;
    border-top: 1px solid #eee;
    margin: 40px 0;
}


@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (max-width: 768px) {
    .paper-container {
        padding: 30px 20px;
        width: 95%;
        margin: 20px auto;
    }
    .close-x {
        top: 10px;
        right: 15px;
        font-size: 2.5rem;
    }
    .paper-header h1 {
        font-size: 1.8rem;
    }
}

.paper-content ul {
    margin-top: 10px;
    margin-bottom: 25px;
    padding-left: 25px;
}

.paper-content ul li {
    margin-bottom: 12px;
    position: relative;
    list-style-type: disc; 
}


.paper-content strong {
    color: #003366;
    font-weight: 700;
}