/* Reset básico */
body, h1, h2, h3, p, ul, li, table, th, td {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Fondo y fuente general */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f7f8fa;
    color: #333;
    line-height: 1.6;
    padding: 30px;
}

/* Encabezados */
h1, h2, h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

h2 {
    text-align: center;
    color: #017572;
    margin-bottom: 24px;
}

/* Contenedores */
.container {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 32px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(44,62,80,0.06);
}

/* Formularios */
.form-signin {
    max-width: 350px;
    padding: 30px 25px 25px 25px;
    margin: 40px auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(44,62,80,0.10);
    color: #017572;
}

.form-signin .form-signin-heading {
    margin-bottom: 18px;
    text-align: center;
    color: #017572;
    font-weight: 600;
}

.form-signin label {
    display: block;
    margin-bottom: 6px;
    color: #34495e;
    font-weight: 500;
}

.form-signin .form-control {
    position: relative;
    height: auto;
    box-sizing: border-box;
    padding: 12px;
    font-size: 16px;
    border-radius: 6px;
    border: 1.5px solid #017572;
    margin-bottom: 14px;
    transition: border-color 0.2s;
    width: 100%;
}

.form-signin .form-control:focus {
    border-color: #019e8a;
    outline: none;
    box-shadow: 0 0 0 2px #b7f7ec44;
    z-index: 2;
}

/* Botón */
button, .btn {
    background: #017572;
    color: #fff;
    border: none;
    padding: 12px 0;
    width: 100%;
    border-radius: 6px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 10px;
}

button:hover, .btn:hover {
    background: #019e8a;
}

/* Mensajes */
.alert {
    padding: 12px 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-weight: bold;
}
.alert-success { background: #e7f9ed; color: #27ae60; }
.alert-error { background: #fdecea; color: #c0392b; }

/* Enlaces bonitos y modernos */
a {
    display: inline-block;
    padding: 10px 22px;
    margin: 4px 8px;
    background: #017572;
    color: #fff !important;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(44,62,80,0.07);
    transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
    font-size: 1em;
    letter-spacing: 0.5px;
}

a:hover, a:focus {
    background: #019e8a;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(44,62,80,0.10);
    transform: translateY(-2px) scale(1.03);
}

/* Centrar enlaces de acción */
.action-links {
    text-align: center;
    margin-top: 22px;
}

/* Radios bonitos */
.radio-label {
    display: block;
    margin-bottom: 8px;
    font-size: 1em;
    color: #017572;
    cursor: pointer;
}
.form-signin .radio-label input[type="radio"] {
    margin-right: 8px;
}

/* Tablas modernas */
.styled-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 20px 0;
    font-size: 1em;
    background: #fff;
    box-shadow: 0 2px 8px rgba(44,62,80,0.03);
}
.styled-table th, .styled-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e1e4e8;
    text-align: left;
}
.styled-table th {
    background: #f0f4f8;
    color: #34495e;
    font-weight: 700;
}
.styled-table tr:nth-child(even) {
    background-color: #f7f8fa;
}
@media (max-width: 600px) {
    .styled-table th, .styled-table td {
        padding: 8px;
        font-size: 0.95em;
    }
    .container {
        padding: 12px 4px;
    }
    .form-signin {
        padding: 16px 6px;
        max-width: 98%;
    }
}
