.container { position: relative; margin: 40px auto; width: 75%; }
.calendar-wrapper { position: relative; display: flex; align-items: center; justify-content: center; user-select: none; }
.control { font-size: 6vw; cursor: pointer; transition: 0.25s; }
.control.hide { opacity: 0; pointer-events: none; }
.control:hover { text-shadow: 0 0 8px rgba(0,0,0,0.4); }
.control:active { transform: scale(0.85); }
.control:before { font-family: "Fontawesome"; }
.control.prev:before { content: "\f104"; }
.control.next:before { content: "\f105"; }
.calendar-box { flex-grow: 1; background: white; box-shadow: 0 0 15px rgba(0,0,0,0.1); margin: 0 16px; }
.table-row { display: flex; align-items: center; justify-content: center; border-radius: 4px; }
.table-col { width: 14.2857%; }
.head { font-weight: 700; text-align: center; font-size: 20px; padding: 20px 0; color: white; background: var(--blue); }
.head-row { background: var(--blue); padding: 0 20px; }
.table-col:first-child .head { border-top-left-radius: 6px; border-bottom-left-radius: 6px; }
.table-col:last-child .head { border-top-right-radius: 6px; border-bottom-right-radius: 6px; }
.weekname { font-size: 17px; font-weight: 500; }
.time-blocks { padding: 20px; }
.time-block { margin: 10px; padding: 24px 20px; background: linear-gradient(var(--orange), var(--darkorange)); color: white; text-align: center; font-weight: 700; font-size: 17px; cursor: pointer; border-radius: 4px; transition: 0.2s; }
.time-block:hover { background: linear-gradient(var(--darkorange), var(--darkorange)); box-shadow: 0 0 6px rgba(0,0,0,0.4); }
.time-block.reserved { background: linear-gradient(#666,#777); color: #999; pointer-events: none; }
.time-block.closed { background: var(--blue); color: transparent; pointer-events: none; opacity: 0.5; }

.modal .row { margin: 12px 0; }
.modal .col { padding: 0 6px; }
.modal textarea { height: 170px; }
input:disabled { background: #f9f9f9; border: 1px solid #eee; }


@media (max-width: 1680px) { 
.container { width: 80%; }
.head { font-size: 19px; }
.weekname { font-size: 16px; }
.time-block { font-size: 16px; padding: 22px 18px; }
}

@media (max-width: 1440px) { 
.container { width: 95%; }
.head { font-size: 17px; }
.weekname { font-size: 15px; }
.time-block { font-size: 15px; padding: 18px 8px; }
}

@media (max-width: 1024px) {
.table-row { flex-wrap: wrap; }
.table-col { width: 100%; }
.time-block { margin: 10px 20%; }
.head { margin: 0 10%; border-radius: 4px; }
}
