body {
    font-family: Arial, sans-serif;
    background: #f9f9fb;
    margin: 0;
    padding: 0;
}
.nav {
    background: #2c3e50;
    color: #fff;
    padding: 12px;
    margin-bottom: 20px;
}
.nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 12px;
    font-weight: bold;
}
h2 {
    color: #2c3e50;
    margin-top: 0;
}
.login-container, .calendario, form, .msg, .error {
    margin: 25px auto;
    max-width: 560px;
    padding: 16px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 8px #ddd;
}
.error { color: #c0392b; font-weight: bold; }
.msg   { color: #16a085; font-weight: bold; }

input, select, button {
    padding: 8px; margin: 6px 0; border-radius: 6px;
    border: 1px solid #ccc; width: 96%;
    box-sizing: border-box;
}
button { background: #0072bc; color: #fff; border: none; cursor: pointer; transition: .2s; }
button:hover { background: #005fa3; }

table {
    width: 100%; border-collapse: collapse; margin-top: 18px;
}
th, td { padding: 8px; border-bottom: 1px solid #ddd; text-align: left; }
th { background: #e1eaf6; }
tr:hover { background: #f2f7fc; }
.calendario { display: flex; flex-wrap: wrap; gap: 15px; }
.mes { background: #fff; border: 1px solid #ececec; border-radius: 10px; margin: 4px; box-shadow: 0 1px 4px #eee; }
.mes h3 { text-align: center; font-size: 1.2em; margin: 10px 0; }
.mes table { width: 100%; font-size: .95em; }
.mes td {
    width: 32px; height: 40px;
    border: 1px solid #f4f4f4; border-radius: 5px;
    text-align: center; vertical-align: middle;
    cursor: pointer;
    font-size: .9em;
    transition: background .2s;
    position: relative;
}
.mes td .mini { font-size: .7em; color: #222; }
