html, body {
    height: 100%;
    margin: 0;
    font-family: "Kanit", sans-serif;
    user-select: none;        
    -webkit-user-select: none; 
    -moz-user-select: none;
    -ms-user-select: none; 
    align-items: center;
}

body {
    display: flex;  
    height: 100vh;
    margin: 0;
    background-color: #f9fafb;
    flex-direction: column;
    padding-bottom: 2rem;
}

p{
    margin: 0;
}

  .container {
    display: flex; 
    border-radius: 9px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background-color: white;
    padding: 2rem 2rem;
    flex-direction: row;
}

.label{
    font-size: 1.1rem;
    font-weight: 300;
}

.moveButton{
    width: 1.5rem;
    height: 1.5rem;
    background-color: #f3f4f6;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
}

#grid{
    width: 100%;
    display:grid;
    grid-template-columns:repeat(7,1fr);
    gap: 1rem;
    margin-top: 1.5rem;
    
}

.grid-label{
    font-weight: 300;
    font-size: 0.8rem;
    color: #989ea8;
    text-align: center;
    margin-top: 0;
    margin-bottom: 0rem;
}

.grid-number {
    text-align: center;
    margin: 0;
    width: 2rem;   
    height: 2rem;
    line-height: 2rem;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.grid-number:hover{
    width: 2rem;
    height: 2rem;
    background-color: #587bcb;
    color: white;
}

#date-label{
    font-size: 0.85rem;
    font-weight: 300;
}

#time-slot-grid{  
    display: grid;
    grid-template-columns:repeat(2,1fr);
    margin-top: 1.3rem;
    gap: 0.7rem;
    row-gap: 0.7rem;
}

.time-slot{
    width: 5rem;
    height: 2rem;
    color: black;
    background-color: white;
    border-radius: 0.3rem;
    border: 1px solid rgba(0, 0, 0, 0.15);
    display: flex;
    font-size: 0.8rem;
    justify-content: center;
    align-items: center;
    font-weight: 300;
    cursor: pointer;
}

.time-slot:hover{
    background-color: #587bcb;
    color: white;
}

#horizontal-line{
    height: 0.05rem;
    background-color: rgba(0, 0, 0, 0.15);
    margin-top: 2rem;
}

.input-label{
    text-align: left;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.input{
    width: 9rem;
    height: 2rem;
    border:1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.4rem;
    display: flex;
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 0.65rem;
    margin-bottom: 1rem;
    font-weight: 200;
}

#request-input{
    padding: 1rem 1rem;
    width: auto;
    resize: none;
}

#submit{
    width: 16rem;
    height: 2.85rem;
    background-color: #0B6285;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    margin-top: 1rem;
    font-size: 0.85rem;
    font-family: "Kanit", sans-serif;
    color: white;
    cursor: pointer;
}

#time-slots-block{
    display: none;
}

#booking-block{
    display: none;
}

@keyframes showTimeSlotsBlock {
    0% {opacity: 0; visibility: hidden;}
    100% {opacity: 1; visibility: visible;}
}

#submitted-container{
    display: none;
}

.meeting-time{
    font-weight: 700;
    font-size: 1.6rem;
    margin-bottom: 2rem;
}

.meeting-details, .meeting-request{
    font-weight: 200;
    font-size: 1rem;
    margin-top: 0.3rem;
}

.meeting-request{
    width: 20rem;
    font-weight: 300;
}

.hor-line{
    height: 0.1rem;
    width: 100%;
    background-color: black;
}

#date-label{
    font-weight: 600;
    font-size: 1.1rem;
}

.notes{
    padding: 0.5rem 0.5rem;
    font-size: 0.7rem;
    width: 10rem; 
    overflow:auto; 
    height: 14rem;
    max-width: 10rem;
    min-width: 10rem;
    max-height: 10rem;
    min-height: 10rem;
}

.notes-save{
    width: 3rem;
    height: 1rem;
    background-color: #587bcb;
    color: white;
    margin-top: 0.5rem;
    font-size: 0.7rem;
    text-align: center;
    justify-content: center;
    align-items: center;
    display: none;
    cursor: pointer;
}

#error-block{
    padding: 1rem 2rem;
    background-color: red;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 0.5rem;
    position: absolute;
    max-width: 20vw;
    right: 2vw;
    top: 2vw;
    text-align: center;
    height: auto;
    animation: shakeErrorBlock 0.4s ease-in-out;
    display: none;
}

@keyframes shakeErrorBlock {
    0%   { transform: rotate(0deg); }
    20%  { transform: rotate(-3deg); }
    40%  { transform: rotate(3deg); }
    60%  { transform: rotate(-3deg); }
    80%  { transform: rotate(3deg); }
    100% { transform: rotate(0deg); }
}

#explore-button {
    padding: 0.5rem 2rem;
    outline: none;
    border: none;
    border-radius: 0.5rem;
    background-color: #587bcb;
    color: white;
    margin-top: 1rem;
    cursor: pointer;
}

#booking-container{
    height: auto; 
    display: none; 
    flex-direction: column; 
    width: fit-content;
    margin: 2rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

#intro-block{
    height: auto; 
    display: flex; 
    flex-direction: column; 
    margin: 2rem;
    margin-bottom: 0.1rem;
    width: fit-content;
}

#content-block{
    margin: 5rem;
    border: 1px solid rgba(0, 0, 0, 0.15);
    padding: 2rem;
    width: auto;
    height: auto;
    background-color: white;
    border-radius: 0.4rem;
}

.block-column{
    display: flex;
    flex-direction: column;
}

.week-day-label{
    font-size: 1rem;
    font-weight: 600;
}




.schedule-container-manage {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 1rem;
}

.day-column-manage {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}

.day-header-manage {
    background: #4CAF50;
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
}

.date-manage {
    background: #e8f5e9;
    padding: 10px;
    text-align: center;
    font-size: 14px;
    color: #2e7d32;
    font-weight: 600;
}

.time-slots-manage {
    padding: 10px;
}

.time-slot-manage {
    padding: 8px;
    margin: 5px 0;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 13px;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s;
}

.time-slot-manage:hover {
    background: #f0f0f0;
}

#move-buttons-container{
    width: 100%;
    height: 20px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

#button-move-prev{

}

#button-move-next{

}

#button-move-next, #button-move-prev{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    color: black;
    font-weight: 700;
    background-color: white;
    padding: 0.8rem;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.2rem;
    cursor: pointer;
}

#working-content{
    position: absolute;
    background-color: white;
    border: 1px solid black;
    z-index: 1;
    padding: 2rem;
    border-radius: 0.4rem;
    margin: 5rem;
}

#notes-field{
    height: 10rem;
    width: 10rem;
}

#requested-input{
    width: 15rem;
    white-space: normal;
    overflow-wrap: break-word;
}