:root {
  --background-color: #650a4e;
  --btn-color: #667eea;
}
/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    min-height: 100vh;
    box-shadow: 0 0 20px var(--background-color)
}
.section{
    max-width: 800px;
    margin: 50px auto;
    border-radius: 10px;
    box-shadow: 0px 0px 15px 0px rgba(42, 31, 198, 0.508);
}

header {
    background: var(--background-color);
    color: white;
    padding: 2rem;
    text-align: center;
}

header h1 {    
    font-size: 2rem;
}
h2{    
    padding-bottom: 20px;
}

.text-center{
    text-align: center;
}
.text-end{
    text-align: right;
}
/* Botones */
.btn {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    transition: all 0.3s;
    font-weight: bold;
    background: var(--btn-color);
    display: inline-block;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Tablas */
.table-responsive {
    overflow-x: auto;
    margin: 0.5rem 0;
    padding: 16px;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th, .table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.table th {
    background: var(--background-color);
    color: white;
}

.table tr:hover {
    background: #f5f5f5;
}

/* Formularios */
form {
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
}

input[type="text"],input[type="number"] {
    width: 100%;
    padding: 0.8rem;
    margin: 0.5rem 0 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: var(--background-color);
    color: white;
    margin-top: 3rem;
}