/* Marco de las paginas independientes cuyo contenido tambien se ve en un modal de la home (normativa, biblioteca,
   formularios): el fondo y el boton Atras. El contenido de cada una tiene sus propios estilos, compartidos con el modal. */

:root {
    color-scheme: light;
    --purple-700: #673ab7;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f7f5ff;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.main-button-container {
    display: flex;
    justify-content: center;
    margin: 0 1rem 4rem;
}

.main-button {
    min-width: 180px;
    padding: 0.95rem 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border-radius: 0.9rem;
    background: var(--purple-700);
    color: #fff;
    font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(103, 58, 183, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.main-button svg {
    flex-shrink: 0;
}

.main-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(103, 58, 183, 0.35);
}

@media (max-width: 640px) {
    .main-button {
        min-width: 140px;
        padding: 0.85rem 1.25rem;
        font-size: 0.9rem;
    }
}
