* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

body, html {
  height: 100%;
  background-color: #f7f7f7;
}
.container {
  display: flex;
  height: 100vh;
}

.sidebar {
  width: 250px;
  height: 100vh;
  background-color: #fff;
  border-right: 1px solid #eee;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 10px 0 0 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  padding: 20px 0;
   box-shadow: 10px 0 0px rgba(0,0,0,0.1);

}
.logo-section {
  text-align: center;
  padding: 0 20px;
}
.logo-section img {
  width: 190px;
  height: auto;
}
.logo-section hr {
  margin: 15px auto 0;
  width: 80%;
  border: none;
  border-top: 1px solid #eee;
}
.menu {
  display: flex;
  flex-direction: column;
  gap: 5px;
 padding-top: 20px;
  flex-grow: 1;
}
.menu a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #555;
  padding: 10px 15px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.3s, color 0.3s;
  border-radius: 5px;
  overflow: hidden;
  z-index: 1; /* important */
}
.menu a.active::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 5px;
  background-color: #00ded5;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}
.menu a.active::before,
.menu a:hover::before {
  opacity: 1;
}
.menu a.active {
  background: linear-gradient(to right, #00ded5, #ffffff);
  color: #000;
  /* font-weight: ; */
}
.menu a i {
  font-size: 1.2rem;
}
.menu a:hover {
  background-color: #f0f0f0;
}
.logout {
  padding: 20px;
}
.logout a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #d60000;
  font-weight: bold;
  font-size: 0.95rem;
  transition: color 0.3s;
}
.logout a i {
  font-size: 1.2rem;
}
.logout a:hover {
  color: #b00000;
}


.right-page {
  padding: 10px 30px;
  flex: 1;
  background-color: #fff;
  overflow-y: auto;
  max-height: 100vh;
}
.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
}

.profile-img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ddd;
  /* cursor: pointer; */
}
.right-page h1 {
  font-size: 1.4rem;
  font-weight: bold;
 margin: 15px 0;
}
.right-page hr {
  border: none;
  border-top: 1px solid #eee;
  margin-bottom: 20px;
}
.tabs-search {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}
.tabs a {
  color: #555;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
}
.tab {
    flex: 1;             
  padding: 8px 24px; 
  min-width: 100px;          
  text-align: center;
  border: 1px solid #eee;
  border-radius: 5px;
  background-color: #f8f8f8;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;      
}
.tabs-wrapper {
  position: relative;
  display: inline-block;
}

.tabs-wrapper::before {
  content: "";
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  background-color: #f8f8f8;
  border-radius: 8px;
  z-index: 0;
}
.tabs {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}
.tab.active {
  background-color: #00ded5;
  color: #000;
  font-weight: 500;
  border: none;
}
.tab:hover {
  background-color: #00ded5;
}

.search-box {
  position: relative;
  max-width: 250px;
  flex: 1;
}
.search-box input {
  width: 100%;
  padding: 10px 40px 10px 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.search-box i {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
}
.table-container {
  overflow-x: auto;
  border: 1px solid #eee;
  border-radius: 5px;
  margin-bottom: 20px;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px; 
}
table thead {
  background-color: #f8f8f8;
}
table th, table td {
  padding: 18px 15px;
  text-align: center;
  border-bottom: 1px solid #eee;
  color: #333;
}
table th {
  /* font-weight: 600; */
  font-size: 14px;
  white-space: nowrap
}
tbody td {
    font-size: 14px;
    color: #575757;
    white-space: nowrap
}
table td i {
  cursor: pointer;
  color: #555;
  transition: color 0.3s;
}

table td i:hover {
  color: #00ded5;
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.pagination span {
  color: #666;
  font-size: 12px;
}
.page-controls {
  display: flex;
  align-items: center;
  gap: 5px;
}
.page-controls select {
  padding: 10px 35px 10px 15px;  
  border-radius: 5px;
  border: 1px solid #ccc;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: #fff url('data:image/svg+xml;utf8,<svg fill="%23666" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 10px center;
  background-size: 16px;
  cursor: pointer;
}
.page-controls button {
  padding: 8px 12px;
  border: none;
  background-color: #fff;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s;
}
.page-controls button.page-number {
  border: 1px solid #ccc;
}
.page-controls button.page-number:hover{
    border: 1px solid #ccc;
     background-color: #00ded5;
     color: white;
}
.page-controls button.active{
  background-color: #00ded5;
  color: #fff;
  border: none;
}
.page-controls button:hover{
      background-color: #eee;
  color: #000;
  border: none;
}
.action-icon {
  position: relative;
  width: 24px;
  height: 24px;
  background-color: #f0f0f0;   
  border-radius: 5px;           
  display: flex;
  align-items: center;
  justify-content: center;
}
.action-icon i {
    position: absolute;
    font-size: 16px;
    color: #555;
    line-height: 0px;
    right: 3px;
}
.modal-overlay {
  background: rgba(0, 0, 0, 0.3);
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.modal {
  background: #ffffff;
  border-radius: 16px;
  width: 420px;
  padding: 40px 30px;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  animation: fadeIn 0.3s ease;
}
.modal-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: #e0fffc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-icon i {
  font-size: 32px;
  color: #00d6c9;
}
.modal h2 {
  font-size: 20px;
  font-weight: bold;
  color: #1e1e1e;
  margin-bottom: 10px;
  margin-top: 45px;
}
.modal p {
  font-size: 14px;
  color: #6f6f6f;
  margin-bottom: 30px;
}
.modal-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.btn {
  padding: 12px 32px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
.btn-no {
  background-color: #f0f0f0;
  color: #444444;
}
.btn-yes {
  background-color: #00d6c9;
  color: #ffffff;
}


@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}


/* Login page---- */


/* * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

body, html {
  height: 100%;
  background-color: #fff;
}

.container {
  display: flex;
  min-height: 100vh;
} */

/* LEFT SIDE IMAGE */
.left-side {
  flex: 1;
  display: flex;
  padding-left: 25px;
  padding-top: 25px;
  overflow: hidden;
}

.left-side img {
  width: 85%;
  height: 100vh;
  object-fit: cover;
  border-radius: 25px;
  
}

/* RIGHT SIDE FORM */
.right-side {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 600px;
  margin: 0 auto;
  padding-right: 120px;
}



.logo {
  text-align: center;
  margin-bottom: 30px;
}

.logo img {
  width: 150px;
  height:135px;
}

.logo h1 {
  color: #004d66;
  margin-top: 10px;
}

.logo .tagline {
  font-size: 0.9rem;
  color: #777;
}

.logo-icon {
  font-size: 48px;
  color: #00cfc7;
}

.input-password {
  position: relative;
}

.input-password i.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #888;
  font-size: 20px;
}

.right-side h2 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 30px;
  color: rgb(31 33 37);
}

.right-side p {
  text-align: center;
  margin-bottom: 30px;
  color: #666;

}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

label {
  font-size: 0.9rem;
  color: #333;
}

.input-group {
  display: flex;
  align-items: center;
   background-color: #f7f7f7;
  border-radius: 10px;
  border: 1px solid #aaa;
  overflow: hidden;
  padding: 5px 0;
}

.country-box {
  display: flex;
  align-items: center;
  background-color: #f7f7f7;
  padding: 8px 12px;
}

.flag-dropdown {
  display: flex;
  align-items: center;
  gap: 5px;
}

.flag-dropdown img {
  width: 15px;
  height: 10px;
  object-fit: cover;
  /* border: 1px solid #888; */
}

.flag-dropdown select {
  border: none;
  background: transparent;
  font-size: 1rem;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
}

.flag-dropdown .arrow {
  font-size: 0.5rem;
  color: #555;
}

.divider {
  width: 1px;
  height: 20px;
  background-color: #888;
  margin: 0 8px;
}

.country-code {
  font-size: 1rem;
  color: #333;
}

.vertical-separator {
  height: 30px;
  width: 1px;
   background-color: #f7f7f7;
}

.input-group input {
  flex: 1;
  border: none;
  padding: 10px;
  font-size: 1rem;
 background-color: #f7f7f7;
  outline: none;
}

.input-password {
  display: flex;
  border: 1px solid #ccc;
  border-radius: 10px;
  overflow: hidden;
}

.input-password input {
  flex: 1;
  border: none;
  padding: 15px;
  outline: none;
  background-color: #f7f7f7;

}

.input-password button {
  border: none;
  background: #f7f7f7;
  padding: 10px;
  cursor: pointer;
}

.forgot {
  text-align: right;
}

.forgot a {
  color: #004d66;
  text-decoration: none;
  font-size: 0.9rem;
}

.login-btn {
  background-color: #00ded5;
  border: none;
  padding: 15px;
  color: black;
  font-size: 1rem;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.login-btn:hover {
  background-color: #00bdb6;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .left-side {
    display: none;
  }

  .right-side {
    padding: 20px;
    max-width: 100%;
  }
}


.approve_btn_link {
    box-shadow: 0px 0px 5px 1px #a1bca1;
    border: 3px solid #7abe7a;
    padding: 8px 10px;
    background: #39824f;
    color: #fff;
    border-radius: 6px;
    font-size: 10px;
}


.reject_btn_link {
    box-shadow: 0px 0px 5px 1px #a1bca1;
    border: 3px solid #bf6971;
    padding: 8px 10px;
    background: #bf6971;
    color: #fff;
    border-radius: 6px;
    font-size: 10px;
}

.pending_btn_link {
    box-shadow: 0px 0px 5px 1px #a1bca1;
    border: 3px solid #d6993e;
    padding: 8px 10px;
    background: #d6993e;
    color: #fff;
    border-radius: 6px;
    font-size: 10px;
}



/*css*/
/* ========== GENERAL STYLES ========== */



/* Back Button */
.back-btn a {
    text-decoration: none;
    color: #00c4cc;
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 10px;
    display: inline-block;
}

/* Doctor Card */
.doctor-card {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    gap: 20px;
    flex-wrap: wrap;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.doctor-info {
    display: flex;
    align-items: center;
    gap: 20px;
}
.dc_info h5 {
    margin-bottom: 10px;
    font-size: 18px;
}

.doctor-img img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.doctor-info h3 {
    margin: 0;
    font-size: 22px;
}

.doctor-contact {
    font-size: 16px;
    color: #555;
    margin-top: 5px;
}

/* Approve / Reject Buttons */
/*.approve_btn, .reject_btn {
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: 0.3s;
    border: none;
}

.approve_btn {
    background: #28a745;
    color: #fff;
}

.approve_btn:hover {
    background: #218838;
}


.reject_btn:hover {
    background: #c82333;
}*/

/* Profile Section */
.profile-section {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Left Card */
.left-card {
    flex: 2;
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    max-height: 650px;
    overflow-y: auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Right Card */
.right-card {
    flex: 1;
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    max-height: 650px;
    overflow-y: auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Lists */
.dc_info ul.horizontal-list {
    padding-left: 20px;
    font-size: 16px;
    line-height: 1.8;
}

/* Images */
.diploma-img, .attach-img-popup {
    border-radius: 8px;
    margin: 10px 0;
    max-width: 100%;
    height: auto;
}

/* Table */
.table-containers {
    background: #fff;
    margin-top: 30px;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow-x: auto;
}

.table-containers h2 {
    margin-bottom: 15px;
    font-size: 22px;
}

.table-containers table {
    width: 100%;
    border-collapse: collapse;
}

.table-containers table th,
.table-containers table td {
    border: 1px solid #eee;
    padding: 10px;
    font-size: 15px;
    text-align: left;
    vertical-align: middle;
}

.table-containers table th {
    background: #f7f9fb;
}

/* Contact List */
.contact-list {
    margin-top: 20px;
}

.contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 10px;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.contact .details h5 {
    margin: 0;
    font-size: 18px;
}

.contact .details p {
    margin: 0;
    font-size: 15px;
    color: #555;
}

.contact .date {
    font-size: 14px;
    color: #777;
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top:0; left:0;
    width:100%; height:100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-box {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    width: 800px;
    max-width: 95%;
    display: flex;
    flex-wrap: wrap;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.modal-left {
    width: 180px;
    border-right: 1px solid #eee;
    padding-right: 15px;
}

.modal-left li {
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
}

.modal-left li:hover {
    background: #f5f5f5;
}

.modal-right {
    flex: 1;
    padding-left: 20px;
    min-width: 220px;
}

.modal-right h3 {
    margin-top: 0;
    font-size: 20px;
}

.modal-footer {
    margin-top: 20px;
    text-align: right;
}

/* Buttons */
.btn {
    padding: 8px 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-cancel { background: #eee; color: #444; }
.btn-apply { background: #00c4cc; color: #fff; }

/* Date Picker Button */
.date-btn {
    cursor: pointer;
    padding: 12px 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #f5f5f5;
    font-size: 16px;
}

/* ===============================
   RESPONSIVE
================================= */

/* Tablet */
@media (max-width: 992px) {
    .profile-section {
        flex-direction: column;
        gap: 20px;
    }
    .doctor-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .doctor-info {
        flex-direction: column;
        align-items: flex-start;
    }
    .doctor-img img {
        width: 100px;
        height: 100px;
    }
    .left-card, .right-card {
        width: 100%;
        max-height: unset;
    }
}

/* Mobile */
@media (max-width: 576px) {
    body { font-size: 15px; }
    .header-row { flex-direction: column; align-items: flex-start; }
    .profile-img { width: 50px; height: 50px; }
    .doctor-info h3 { font-size: 18px; }
    .doctor-contact { font-size: 14px; }
    .dc_info ul.horizontal-list li { font-size: 14px; margin-bottom: 8px; }
    .diploma-img, .attach-img-popup { width: 100% !important; height: auto; }
    .table-containers table th, .table-containers table td { font-size: 13px; padding: 6px; }
    .approve_btn, .reject_btn { width: 100%; margin-bottom: 10px; }
    .modal-box { width: 95%; flex-direction: column; }
    .modal-left { width: 100%; border-right: none; border-bottom: 1px solid #eee; }
}
