.appointments-container{width:90%;margin:auto;padding:20px;}
.appointments-table{width:100%;border-collapse:collapse;}
.appointments-table th,.appointments-table td{
    border:1px solid #ddd;padding:10px;text-align:center;
}
.orange {color:orange;font-weight:bold;}
.green {color:green;font-weight:bold;}
.rejected{color:red;font-weight:bold;}
.button{
    padding:5px 10px;background:#0073aa;color:#fff;
    text-decoration:none;border-radius:4px;margin:2px;
}
.reject{background:#dc3545;}

/* MOBILE RESPONSIVE ONLY */
@media (max-width: 768px) {

  .appointments-table {
    width: 100%;
    border: 0;
  }

  .appointments-table thead {
    display: none;
  }

  .appointments-table tr {
    display: block;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 8px;
    background: #fff;
  }

  .appointments-table td {
    display: flex;
    justify-content: space-between;
    padding: 8px 6px;
    border: none;
    border-bottom: 1px solid #eee;
    font-size: 14px;
  }

  .appointments-table td:last-child {
    border-bottom: 0;
  }

  /* Labels for each field */
  .appointments-table td:nth-child(1)::before { content: "Date"; }
  .appointments-table td:nth-child(2)::before { content: "Time"; }
  .appointments-table td:nth-child(3)::before { content: "Doctor"; }
  .appointments-table td:nth-child(4)::before { content: "Patient"; }
  .appointments-table td:nth-child(5)::before { content: "Status"; }
  .appointments-table td:nth-child(6)::before { content: "Action"; }

  .appointments-table td::before {
    font-weight: 600;
    color: #333;
  }

  /* Buttons stack */
  .appointments-table td a.button {
    display: block;
    width: 100%;
    text-align: center;
    margin: 5px 0;
    font-size: 13px;
    padding: 6px;
  }

  .hms-container {
    padding: 10px;
  }

  h2 {
    font-size: 18px;
  }
}

/*Pop-Ups*/


/* MODAL BACKGROUND */
.hms-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
}

/* MODAL BOX */

.hms-modal-content {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* CLOSE BUTTON */
.hms-modal-close {
    float: right;
    font-size: 22px;
    cursor: pointer;
}

/* TITLE */
.hms-modal-content h3 {
    margin-bottom: 10px;
}

/* BUTTON */
.hms-modal-content .hms-btn {
    margin-top: 15px;
}

