* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, sans-serif;
    background: #f2f2f2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu {
    width: 90%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.menu-button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 110px;
    background: white;
    border-radius: 15px;
    text-decoration: none;
    color: #222;
    font-size: 26px;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.menu-button:active {
    transform: scale(0.98);
}


/* TENSIÓN */

.tension-container {
    width: 95%;
    max-width: 650px;
    margin: 25px auto;
    text-align: center;
}

.tension-container h1 {
    font-size: 28px;
    margin-bottom: 25px;
}

.tension-form {
    background: white;
    padding: 25px;
    border-radius: 15px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    text-align: left;
}

.tension-form label {
    font-weight: bold;
    align-self: center;
}

.tension-form input {
    width: 100%;
    padding: 13px;
    font-size: 18px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.tension-form button {
    grid-column: 1 / -1;
    margin-top: 10px;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: #222;
    color: white;
}

.tension-container h2 {
    margin-top: 30px;
}

.tension-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.tension-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

.tension-table th,
.tension-table td {
    padding: 12px 8px;
    border-bottom: 1px solid #ddd;
    text-align: center;
}

.tension-table th {
    font-weight: bold;
}


/* ADMINISTRACIÓN */

.admin-container {
    width: 90%;
    max-width: 450px;
    margin: 30px auto;
    text-align: center;
}

.admin-container h1 {
    font-size: 28px;
    margin-bottom: 5px;
}

.admin-container h2 {
    font-size: 20px;
    font-weight: normal;
    margin-bottom: 30px;
}

.admin-container form {
    background: white;
    padding: 25px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}

.admin-container label {
    font-weight: bold;
    margin-top: 8px;
}

.admin-container input {
    width: 100%;
    padding: 14px;
    font-size: 18px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.admin-container button {
    margin-top: 15px;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: #222;
    color: white;
}


/* CALENDARIO */

.calendar-container {
    width: 95%;
    max-width: 700px;
    margin: 20px auto;
    text-align: center;
}

.calendar-container h1 {
    font-size: 28px;
    margin-bottom: 20px;
}

.month-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.month-navigation a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 10px;
    text-decoration: none;
    color: #222;
    font-size: 24px;
    font-weight: bold;
}

.month-title {
    font-size: 24px;
    font-weight: bold;
}

.calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.weekday {
    font-weight: bold;
    padding: 10px 2px;
}

.day {
    min-height: 75px;
    background: white;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.day.empty {
    background: transparent;
}

.day-number {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.2;
}

.turno {
    margin-top: 5px;
    font-size: 18px;
    font-weight: bold;
    min-height: 22px;
    text-align: center;
    word-break: break-all;
}

.back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    padding: 14px 25px;
    background: white;
    border-radius: 10px;
    text-decoration: none;
    color: #222;
    font-weight: bold;
}


.delete-form {
    display: inline;
    margin-left: 4px;
}

.delete-button {
    padding: 7px 9px;
    background: #222;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
}
