@charset "utf-8";
/* CSS Document */

/* NAV FIX */
#header nav ul li a {
    white-space: normal;
    text-align: center;
    line-height: 1.2em;

    /* Center vertically */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* CALENDAR GRID */
.calendar-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start; /* left aligned */
    max-width: 100%;
}


.day {
    background: rgba(255,255,255,0.1);
    padding: 10px 5px;
    border-radius: 6px;
    text-align: center;
    font-size: 0.9rem;
    cursor: pointer;
    width: 80px; /* fits perfectly inside Dimension article */
    box-sizing: border-box;
}

.day strong {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 4px;
}

.calendar-grid .day strong {
    white-space: nowrap;
}

.calendar-grid .day.open {
    background: rgba(0, 200, 0, 0.25);
}

.calendar-grid .day.taken {
    background: rgba(200, 0, 0, 0.25);
}

.calendar-grid .day {
    flex: 0 0 auto;   /* do not shrink */
    min-width: 72px;  /* ensures MON 3/15 fits */
}

/* ================================
   MODAL SYSTEM (UPDATED + FIXED)
   ================================ */

/* Dark overlay behind modal */
#modalOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 9998;
}

/* Modal container */
#scheduleForm {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 400px;
    padding: 20px;
    border-radius: 8px;
    z-index: 9999;
    overflow: hidden; /* keeps background inside */
    color: white; /* readable text */
}

/* Modal background layer */
.modal-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;

    /* IMPORTANT: Correct path from /assets/css/ to /images/ */
    background-image: url('../../images/bg.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(6px) brightness(0.5);
    opacity: 0.9;
    border-radius: 8px;
}

/* ADMIN LOGO FIX */
.admin-logo {
    width: 60%;      /* smaller overall */
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

#scheduleMessage {
    position: fixed;
    top: 50%;                     /* vertical center */
    left: 0;
    width: 100%;                  /* full width */
    transform: translateY(-50%);  /* perfect centering */
    text-align: center;           /* center text */
    background: rgba(0, 150, 0, 0.90);
    color: white;
    padding: 20px 0;
    font-size: 1.4rem;
    font-weight: bold;
    display: none;
    z-index: 99999;
    animation: fadeOut 5s forwards;
}


@keyframes fadeOut {
    0% { opacity: 1; }
    70% { opacity: 1; }
    100% { opacity: 0; }
}


.input-error-message {
    display: none;
    color: #ff4444;
    font-size: 0.9rem;
    margin-top: 6px;
    text-align: left;
}

.input-error-border {
    border: 2px solid #ff4444 !important;
    background-color: #ffecec;
}

#scheduleForm label {
    display: block;
    margin-top: 15px;
}

#scheduleForm input[type="text"] {
    margin-bottom: 10px;
}


.w10 {
	width: 10%;
}
.w15 {
	width: 15%;
}
.w20 {
	width: 20%;
}
.w25 {
	width: 25%;
}
.w30 {
	width: 30%;
}
.w35 {
	width: 35%;
}
.w40 {
	width: 40%;
}
.w45 {
	width: 45%;
}
.w50 {
	width: 50%;
}
.w55 {
	width: 55%;
}
.w60 {
	width: 60%;
}
.w65 {
	width: 65%;
}
.w70 {
	width: 70%;
}
.w75 {
	width: 75%;
}
.w80 {
	width: 80%;
}
.w85 {
	width: 85%;
}
.w90 {
	width: 90%;
}
.w95 {
	width: 95%;
}
.w100 {
	width: 100%;
}


.round-all {
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	text-align: center;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 5px;
	padding-bottom: 5px;
}

.round-top {
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	text-align: center;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 5px;
	padding-bottom: 5px;
}

.round-tl {
	border-top-left-radius: 10px;
	text-align: center;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 5px;
	padding-bottom: 5px;
}

.round-tr {
	border-top-right-radius: 10px;
	text-align: center;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 5px;
	padding-bottom: 5px;
}

.round-bottom {
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	text-align: center;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 5px;
	padding-bottom: 5px;
}

.round-bl {
	border-bottom-left-radius: 10px;
	text-align: center;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 5px;
	padding-bottom: 5px;
}

.round-mid {
	text-align: center;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 5px;
	padding-bottom: 5px;
}

.round-br {
	border-bottom-right-radius: 10px;
	text-align: center;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 5px;
	padding-bottom: 5px;
}

.round-left {
	border-bottom-left-radius: 10px;
	border-top-left-radius: 10px;
	text-align: center;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 5px;
	padding-bottom: 5px;
}

.round-right {
	border-bottom-right-radius: 10px;
	border-top-right-radius: 10px;
	text-align: center;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 5px;
	padding-bottom: 5px;
}





.round-all-wb {
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	text-align: center;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 5px;
	padding-bottom: 5px;
}

.round-top-wb {
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	text-align: center;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 5px;
	padding-bottom: 5px;
}

.round-tl-wb {
	border-top-left-radius: 10px;
	text-align: center;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 5px;
	padding-bottom: 5px;
}

.round-tr-wb {
	border-top-right-radius: 10px;
	text-align: center;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 5px;
	padding-bottom: 5px;
}

.round-bottom-wb {
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	text-align: center;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 5px;
	padding-bottom: 5px;
}

.round-bl-wb {
	border-bottom-left-radius: 10px;
	text-align: center;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 5px;
	padding-bottom: 5px;
}

.round-mid-wb {
	text-align: center;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 5px;
	padding-bottom: 5px;
}

.round-br-wb {
	border-bottom-right-radius: 10px;
	text-align: center;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 5px;
	padding-bottom: 5px;
}

.round-left-wb {
	border-bottom-left-radius: 10px;
	border-top-left-radius: 10px;
	text-align: center;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 5px;
	padding-bottom: 5px;
}

.round-right-wb {
	border-bottom-right-radius: 10px;
	border-top-right-radius: 10px;
	text-align: center;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 5px;
	padding-bottom: 5px;
}





.gray {
	background-color: lightgray;
	color: black;
}

.gray-b {
	background-color: lightgray;
	color: black;
	font-weight: bold;
}

.lpurple {
	background-color: #B19CD9;
	color: black;
}

.lpurple-b {
	background-color: #B19CD9;
	color: black;
	font-weight: bold;
}

.orange-b {
	background-color: lightcoral;
	color: black;
	font-weight: bold;
}


.align-center {
    display: flex;
    justify-content: center; /* horizontal */
    align-items: center;     /* vertical */
	flex-direction: column;

}

.form-control {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box;
}

.form-control:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 4px rgba(0, 123, 255, 0.4);
}

select.form-control {
    appearance: none;
    background-color: white;
    cursor: pointer;
}

.select-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-color: white;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='20' width='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'><polygon points='0,0 20,0 10,10'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;

    padding-right: 30px; /* space for arrow */
    border: 1px solid #ccc;
    border-radius: 6px;
    height: 38px;
    font-size: 16px;
}


.select-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.select-wrapper select {
    width: 100%;
    padding-right: 30px;
    appearance: none;
}

.select-wrapper::after {
    content: "▼";
    font-size: 14px;
    color: #333;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

table {
    margin-left: auto;
    margin-right: auto;
	border-collapse: collapse;
}
table {
    
}





/* CSS */
.button-site {
  background-color: #0078d0;
  border: 0;
  border-radius: 56px;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-family: system-ui,-apple-system,system-ui,"Segoe UI",Roboto,Ubuntu,"Helvetica Neue",sans-serif;
  font-size: 18px;
  font-weight: 600;
  outline: 0;
  padding: 16px 21px;
  position: relative;
  text-align: center;
  text-decoration: none;
  transition: all .3s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-site:before {
  background-color: initial;
  background-image: linear-gradient(#fff 0, rgba(255, 255, 255, 0) 100%);
  border-radius: 125px;
  content: "";
  height: 50%;
  left: 4%;
  opacity: .5;
  position: absolute;
  top: 0;
  transition: all .3s;
  width: 92%;
}

.button-site:hover {
  box-shadow: rgba(255, 255, 255, .2) 0 3px 15px inset, rgba(0, 0, 0, .1) 0 3px 5px, rgba(0, 0, 0, .1) 0 10px 13px;
  transform: scale(1.05);
}

@media (min-width: 768px) {
  .button-site {
    padding: 10px 10px;
  }
}