
.shala-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.shala-tab-btn {
  flex: 1;
  min-width: 120px;
  padding: 10px 14px;
  border: none;
  border-radius: 12px;
  background: #ff3b7e;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: 0.3s ease;
}

.shala-tab-btn.active {
  background: #2f2e56;
}

@media (max-width: 768px) {
  .shala-tabs {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .shala-tab-btn {
    width: 100%;
    border-radius: 10px;
  }
}





.shala-auth-form {
  max-width: 700px;
  margin: 50px auto;
  padding: 25px;
  border-radius: 12px;
  background: inherit;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  font-family: Arial, sans-serif;
}

.shala-auth-form h2 {
  text-align: center;
  margin-bottom: 20px;
  color: inherit;
}

.shala-auth-form form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shala-auth-form input,
.shala-auth-form select {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  outline: none;
  transition: 0.2s;
}

.shala-auth-form input:focus,
.shala-auth-form select:focus {
  border-color: #0073aa;
  box-shadow: 0 0 5px rgba(0,115,170,0.3);
}

.shala-auth-form button {
  padding: 12px;
  border: none;
  border-radius: 6px;
  background: #f43676;
  color: #ffffff;
  cursor: pointer;
  font-weight: bold;
  transition: 0.2s;
}

.shala-auth-form button:hover {
  background: #372c54;
	color: #ffffff;
}

.shala-auth-form p {
  text-align: center;
  font-size: 14px;
}

.shala-auth-form a {
  color: inherit;
  text-decoration: none;
}
.shala-auth-form a:hover {
  text-decoration: underline;
}

/* Profile box */
.shala-profile {
  max-width: 500px;
  margin: 50px auto;
  padding: 25px;
  border-radius: 12px;
  background: inherit;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.shala-profile h2 {
  margin-bottom: 15px;
  color: inherit;
}
.shala-profile p {
  margin: 8px 0;
}


/* User dropdown */
.shala-user-dropdown {
  position: relative;
  display: inline-block;
}

.shala-user-dropdown .user-toggle {
  background: #ff4081; /* तेरे theme वाले pink के हिसाब से */
  color: #fff;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

.shala-user-dropdown .user-menu {
  display: none;
  position: absolute;
  right: 0;
  background: inherit;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  list-style: none;
  padding: 8px 0;
  margin: 5px 0 0 0;
  border-radius: 6px;
  min-width: 150px;
  z-index: 9999;
}

.shala-user-dropdown .user-menu li {
  padding: 8px 15px;
}

.shala-user-dropdown .user-menu li a {
  color: #333;
  text-decoration: none;
  display: block;
}

.shala-user-dropdown .user-menu li a:hover {
  background: inherit;
}


.profile-tab {
    margin-right:20px;
    cursor:pointer;
    padding:6px 12px;
    border-radius:4px;
    color:#444;
	cursor:pointer;
	transition:0.3s;
    font-weight:500;
}
.profile-tab.active {
    background:#ff4081;
    color:#fff;
}
@media(max-width:600px){
  .profile-tab {
    flex:1 1 45%;
    text-align:center;
  }
}

.form-cat {
    margin-right: 10px;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 4px;
    color: #444;
    font-weight: 500;
    border: 1px solid #ddd;
    background: #f9f9f9;
    transition: all 0.2s ease;
}

.form-cat:hover {
    background: #eee;
}

.form-cat.active {
    background: #ff4081;
    color: #fff;
    border-color: #ff4081;
}

/* ===== Shala Auth Plugin CSS ===== */

.shala-auth-form {
  max-width: 700px;
  margin: 50px auto;
  padding: 25px;
  border-radius: 12px;
  background: inherit;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  font-family: Arial, sans-serif;
}

.shala-auth-form h2 {
  text-align: center;
  margin-bottom: 20px;
  color: inherit;
}

.shala-auth-form form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shala-auth-form input,
.shala-auth-form select {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  outline: none;
  transition: 0.2s;
}

.shala-auth-form input:focus,
.shala-auth-form select:focus {
  border-color: #0073aa;
  box-shadow: 0 0 5px rgba(0,115,170,0.3);
}

.shala-auth-form button {
  padding: 12px;
  border: none;
  border-radius: 6px;
  background: #f43676;
  color: #ffffff;
  cursor: pointer;
  font-weight: bold;
  transition: 0.2s;
}

.shala-auth-form button:hover {
  background: #372c54;
  color: #ffffff;
}

.shala-auth-form p {
  text-align: center;
  font-size: 14px;
}

.shala-auth-form a {
  color: inherit;
  text-decoration: none;
}
.shala-auth-form a:hover {
  text-decoration: underline;
}

/* Profile box */
.shala-profile {
  max-width: 500px;
  margin: 50px auto;
  padding: 25px;
  border-radius: 12px;
  background: inherit;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.shala-profile h2 {
  margin-bottom: 15px;
  color: inherit;
}
.shala-profile p {
  margin: 8px 0;
}

/* User dropdown */
.shala-user-dropdown {
  position: relative;
  display: inline-block;
}

.shala-user-dropdown .user-toggle {
  background: #ff4081;
  color: #fff;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

.shala-user-dropdown .user-menu {
  display: none;
  position: absolute;
  right: 0;
  background: inherit;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  list-style: none;
  padding: 8px 0;
  margin: 5px 0 0 0;
  border-radius: 6px;
  min-width: 150px;
  z-index: 9999;
}

.shala-user-dropdown .user-menu li {
  padding: 8px 15px;
}

.shala-user-dropdown .user-menu li a {
  color: #333;
  text-decoration: none;
  display: block;
}

.shala-user-dropdown .user-menu li a:hover {
  background: inherit;
}

.profile-tab {
  margin-right:20px;
  cursor:pointer;
  padding:6px 12px;
  border-radius:4px;
  color:#444;
  font-weight:500;
}
.profile-tab.active {
  background:#ff4081;
  color:#fff;
}

.form-cat {
  margin-right: 10px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 4px;
  color: #444;
  font-weight: 500;
  border: 1px solid #ddd;
  background: #f9f9f9;
  transition: all 0.2s ease;
}

.form-cat:hover {
  background: #eee;
}

.form-cat.active {
  background: #ff4081;
  color: #fff;
  border-color: #ff4081;
}

/* ===== Modern Teacher Table ===== */
#teacher-table {
  width: 100%;
  margin-top: 15px;
  border-collapse: collapse;
  font: 500 14px 'Segoe UI', sans-serif;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

#teacher-table thead {
  background: linear-gradient(90deg,#ff4081,#ff6f61);
  color: #fff;
}

#teacher-table th, 
#teacher-table td {
  padding: 12px 15px;
  text-align: center;
}

#teacher-table .t-mobile {
  max-width: 160px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
  color: #2563eb;
  font-family: monospace;
  letter-spacing: .5px;
}

#teacher-table tbody tr {
  background: #fff;
  color: #1f2937;
  transition: .3s;
}
#teacher-table tbody tr:nth-child(even){background:#f9f9f9;}
#teacher-table tbody tr:hover{background:#ffeaf1;color:#111827;}

/* Gradient Buttons */
#teacher-table .btn-control {
  border: none;
  padding: 6px 14px;
  margin: 2px;
  border-radius: 25px; /* गोल pill look */
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: .3s;
  background: linear-gradient(90deg,#ff4081,#ff6f61);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

#teacher-table .btn-control:hover {
  filter: brightness(0.9); /* hover पर थोड़ा गहरा */
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}


/* Responsive */
@media(max-width:768px){
  #teacher-table thead{display:none;}
  #teacher-table, #teacher-table tbody, 
  #teacher-table tr, #teacher-table td {
    display:block;width:100%;
  }
  #teacher-table tr {
    margin:0 0 15px;
    border:1px solid #ddd;
    border-radius:8px;
    overflow:hidden;
  }
  #teacher-table td {
    text-align:right;
    padding:10px;
    position:relative;
  }
  #teacher-table td::before {
    content:attr(data-label);
    position:absolute;
    left:10px;
    font-weight:bold;
    color:#555;
  }
}
