/* ریست اولیه */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* فونت سفارشی */
@font-face {
  font-family: vazir;
  src: url("../school-05/font/vazir.ttf");
}

/* بدنه اصلی */
body {
  width: 100%;
  height: 100vh;
  background-color: #f5f0e6;
  text-align: center;
  font-family: vazir;
  overflow-x: hidden;
}

.form_new_pass{
  position: fixed;
  left: 0;
  top: 0;
  background-color: blanchedalmond;
  width: 100%;
  height: 100vh;

}

/* جدول */


table {
  direction: rtl;
  border-collapse: collapse;
  text-align: center;
  margin-top: 20px;
  width: 100%;
  font-size: 15px;
  table-layout: fixed;
}

th, td {
  padding: 12px;
  border: 1px solid #A67B5B;
  font-family: vazir;
}

th, .week {
  background-color: #FED8B1;
}

td:hover {
  background-color: #ECB176;
}


/* باکس جدول */
#tb_box {
  overflow-x: auto;
  overflow-y: auto;
  width: 100%;
  min-height: 300px;
  -webkit-overflow-scrolling: touch;
}

/* منوی پایین */
#teacher_menu {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 60px;
  background-color: #A67B5B;
  z-index: 20;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.menu_item {
  flex: 1;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  cursor: pointer;
    border: 1px solid white;
}

.menu_item:hover {
  background-color: #e1ae91;
}
.active_item{
  background-color: #6F4E37;
  color: white;
  
}
/* ورودی‌ها */
.inputs {
  width: 80%;
  padding: 10px;
  margin: 10px 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  text-align: right;
  font-family: vazir;
}
a{
    all: unset;
}
.inputs:focus {
  background-color: #cacaca;
}

/* دکمه‌ها */
.btn {
  background-color: #6F4E37;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  font-family: vazir;
  width: 20%;
  text-align: center;
  margin-top: 5px;
  margin-left: 5px;
}

/* لینک‌ها */
a {
  all: unset;
}

/* کلاس کمکی */
.z {
  height: 50px;
}

/* واکنش‌گرایی برای موبایل */
@media screen and (max-width: 768px) {
  table {
    font-size: 13px;
    background-color: white;
  }

  th, td {
    padding: 8px;
  }

  .inputs {
    width: 95%;
    font-size: 14px;
  }

  .btn {
    width: 90%;
    font-size: 14px;
    margin: 10px auto;
    display: block;
  }

}
