* {
    box-sizing: border-box;
}
body {
    margin: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
}
header {
    height: 10vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    box-shadow: 0 2px 5px grey;
}
main {
    flex: 1;
}
h1 {
    font-size: 2.5rem;
}
label {
    font-size: 1.25rem;

}
input[type="text"], input[type="password"] {
    width: 20rem;
    height: 2rem;
    padding: 1rem 0.5rem;
    font-size: 1rem;
    border: 1px solid black;
    border-radius: 0.5rem;
}
input[type="text"]:focus, input[type="password"]:focus {
    border: 2px solid lightblue;
    outline: none;
}
select {
    width: 20rem;
    height: 2.25rem;
    padding: 0.5rem 0.25rem;
    font-size: 1rem;
    border: 1px solid black;
    border-radius: 0.5rem;
}
button {
    width: 100%;
    height: 2.5rem;
    background-color: #195470;
    color: white;
    font-size: 1.25rem;
    font-weight: bold;
    border: none;
    cursor: pointer;
    border-radius: 0.5rem;
    box-shadow: 1px 1px 2px grey;
}
span {
    font-size: 1.25rem;
}
table {
    width: 100%;
    font-size: 1.25rem;
    text-align: center;
    border-collapse: collapse;
}
tbody tr {
    border-top: 1px solid lightgrey;
}
th, td {
    padding: 0.5rem;
}

.no-display {
    display: none;
}
.margin-top-1 {
    margin-top: 1rem;
}
.background-blue {
    background-color: #1976D2;
}
.background-orange {
    background-color: #FFB74D;
}
.background-green {
    background-color: green;
}
.background-brown {
    background-color: brown;
}
.text-white {
    color: white;
}
.text-green {
    color: green;
}
.text-2x {
    font-size: 2rem;
}
.text-3x {
    font-size: 3rem;
}
.text-4x {
    font-size: 4rem;
}
.text-bold {
    font-weight: bold;
}

.btn-login {
    margin-top: 1rem;
}
.btn-logout {
    width: auto;
    background: none;
    border: none;
    color: grey;
    box-shadow: none;
}

.login-view {
    display: flex;
}
.login-ad {
    flex: 0 1 50%;
    background-image: url("img/ecoencasa.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.login-form-view {
    flex: 1 0 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.login-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 0.5rem;
}

.create-turn-view {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5)), url("img/ecoencasa.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 3rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.create-turn{
    flex: 0 0 50%;
}
.create-turn-group {
    display: flex;
    gap: 1rem;
}
.create-turn-form-view {
    background-color: white;
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: 1px 1px 5px grey;
}
.create-turn-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 0.5rem;
}
.created-turn {
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: 1px 1px 5px grey;
}
.pending-turns {
    background-color: white;
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: 1px 1px 5px grey;
}

.select-doctor-office-view {
    display: flex;
    flex-direction: column;
    background-color: white;
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: 1px 1px 5px grey;
}

.waiting-room-view {
    display: flex;
}
.waiting-room-ad {
    flex: 0 1 50%;
    background-image: url("img/ecoencasa.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}
.called-turn {
    width: 90%;
    height: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: 1px 1px 5px grey;
    animation: called-turn 1.1s ease-in-out infinite;
}
@keyframes called-turn {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}
.called-turns {
    flex: 1 0 50%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    padding: 5rem;
}
