
/* === ESTILOS PRINCIPALES === */
body {
    font-size: 1.3em;
    font-family: 'DejaVu Sans', Verdana, Geneva, Tahoma, Arial, sans-serif;
    background: #f9f5ff;
    margin: 0;
    padding: 0;
}

/* === CABECERA Y NAVEGACION === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 1100;
    background: #e1d7f7;
    color: #3d2352;
    padding: 18px 0;
    box-shadow: 0 2px 8px rgba(61,35,82,0.08);
    text-align: center;
    font-size: 2em;
}

.menu {
    position: fixed;
    top: 120px;
    width: 100%;
    background: #6c4f8c;
    color: #fff;
    padding: 16px 24px;
    box-shadow: 0 2px 8px rgba(61,35,82,0.08);
    z-index: 1000;
    font-size: 1.3em;
}

.menu a {
    color: #fff !important;
    text-decoration: none;
    margin-right: 24px;
    font-size: 1.1em;
}

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

/* === LAYOUT PRINCIPAL === */
.main {
    grid-area: main;
    margin-top: 180px; /* header + menu */
    padding: 40px 6vw 40px 6vw;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(61,35,82,0.12);
}

.container {
    max-width: 800px;
    margin: 40px auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(61,35,82,0.12);
    padding: 40px;
}

/* === TARJETAS === */
.cards {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.card {
    background: #f6f3fa;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(61,35,82,0.12);
    padding: 0;
    overflow: hidden;
    border: 1px solid #d1c4e9;
    font-size: 1.2em;
}

.card-header {
    background: #e1d7f7;
    color: #3d2352;
    padding: 20px 32px;
    font-size: 1.3em;
    font-weight: 500;
    border-bottom: 1px solid #d1c4e9;
}

.card-texto {
    background: #fff;
    color: #3d2352;
    padding: 22px 32px;
    font-size: 1.15em;
    border-bottom: 1px solid #d1c4e9;
}

.card-info {
    background: #f3eaff;
    color: #3d2352;
    padding: 16px 32px;
    font-size: 1.1em;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.card-info input[type="text"] {
    width: auto;
    min-width: 120px;
    margin-bottom: 0;
    font-size: 1.15em;
    padding: 12px;
}

.card-info button {
    margin-left: auto;
    background: #6c4f8c;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px 24px;
    cursor: pointer;
    font-size: 1.15em;
}

.card-info button:hover {
    background: #3d2352;
}

/* === TIPOGRAFIA === */
h1, h2 {
    color: #6c4f8c;
    font-weight: 400;
    font-size: 2em;
}

/* === FORMULARIOS === */
input, select, textarea, button {
    border: 1px solid #d1c4e9;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
    width: 100%;
    font-size: 1.15em;
    background: #f3eaff;
    color: #3d2352;
}

button {
    background: #6c4f8c;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    border-radius: 8px;
    font-size: 1.15em;
    padding: 16px 24px;
}

button:hover {
    background: #3d2352;
}

/* === TABLAS === */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 32px;
}

.table th, .table td {
    border: 1px solid #d1c4e9;
    padding: 16px;
    text-align: left;
    font-size: 1.15em;
}

.table th {
    background: #e1d7f7;
    color: #3d2352;
    font-size: 1.2em;
}
