body {
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
  display: flex;
  background-color: #ffffff;
  height: 100vh;
  /* background-image: url(https://i.pinimg.com/originals/ff/e1/bb/ffe1bb70f9393f0c115df6a33773f937.gif); */
  background-repeat: no-repeat;

}

.gallery {
  --g: 8px; /* the gap */
  
  display: grid;
  clip-path: inset(1px); /* to avoid visual glitchs */
}

#save-pdf-btn{
margin-left: 40%;
margin-bottom: 20%;}


.pdf-container {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-right: 20px;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.btn {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
}


#pdf-render {
  max-width: 100%;
}

.query-form {
  margin-top: 24px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 700px;
  font-size: x-large;
  margin-left: 230px;
}

#query-form label {
  display: block;
  margin-bottom: 10px;
}

#query-form input[type="text"] {
  width: 100%;
  padding: 8px;
  margin-top: 2px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#query-form button {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
}

#query-form button:hover {
  background-color: #0056b3;
}

/* CSS for loading message */
#loading-message {
  position: relative;
  width: fit-content;
  height: fit-content;
  left: 24%;
}
.search-container {
  margin-bottom: 20px;
}

#checkbox-container {
  display: flex;
  flex-wrap: wrap;
}

/* Modern CSS for checkboxes */
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-right: 10px;
  margin-bottom: 10px;
  cursor: pointer;
}

input[type="checkbox"]:checked {
  background-color: #007bff;
}

.dashboard-container,
.room-detail-container,
.join-room-container {
  background: rgba( 255, 255, 255, 0.25 );
  box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
  backdrop-filter: blur( 4px );
  -webkit-backdrop-filter: blur( 4px );
  border-radius: 10px;
  border: 1px solid rgba( 255, 255, 255, 0.18 );
  align-items: center;
  text-align: center;
  padding: 70px;
  margin-top: 20px;
  margin-bottom: 20%;
}
.quizzes-container,
.assignments-container,
.exams-container  {
  background: rgba( 255, 255, 255, 0.25 );
  box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
  backdrop-filter: blur( 4px );
  -webkit-backdrop-filter: blur( 4px );
  border-radius: 10px;
  border: 1px solid rgba( 255, 255, 255, 0.18 );
  align-items: center;
  text-align: center;
  padding: 70px;
  margin-top: 20px;/* Adjust this value to fit your design */
}
#head{
  background: rgba( 255, 255, 255, 0.25 );
  box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
  backdrop-filter: blur( 4px );
  -webkit-backdrop-filter: blur( 4px );
  border-radius: 10px;
  border: 1px solid rgba( 255, 255, 255, 0.18 );
  align-items: center;
  text-align: center;
  margin-top: 20px;
  padding: 0%;
}

.dashboard-btn,
.room-btn,
.join-room-btn {
  display: block;
  margin-top: 10px;
  padding: 10px;
  background-color: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
}

.dashboard-btn:hover,
.room-btn:hover,
.join-room-btn:hover {
  background-color: #0056b3;
}

h3 {
  font-size: 30px;
}

li {
  list-style: none;
}

.file-delete-btn {
  margin-left: 5px; /* Adjust the margin as needed */
  color: #ff5757;
  text-decoration: none;
}

.file-delete-btn:hover {
  color: #ff2f2f;
}

p.teacher-message {
  margin-top: 10px;
  color: #ff5757;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-size: 14px; /* Adjust the font size as needed */
  margin-bottom: 5px;
}

.form-error {
  color: #ff5757;
  font-size: 12px; /* Adjust the font size as needed */
  margin-top: 5px;
}

.error-message {
  color: #ff5757;
  font-size: 14px; /* Adjust the font size as needed */
  margin-top: 10px;
}

.join-requests-container {
  background: #000;
  border-radius: 15px;
  padding: 20px;
  color: #fff;
  text-align: center;
  margin: 20px; /* Adjust the margin as needed */
}

.join-requests-list {
  list-style: none;
  padding: 0;
}

.join-requests-list li {
  margin-bottom: 15px;
}

.accept-btn,
.reject-btn {.btn-48,
  .btn-48 *,
  .btn-48 :after,
  .btn-48 :before,
  .btn-48:after,
  .btn-48:before {
    border: 0 solid;
    box-sizing: border-box;
  }
  .btn-48 {
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: button;
    background-color: #000;
    background-image: none;
    color: #fff;
    cursor: pointer;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
      Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif,
      Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
    font-size: 100%;
    line-height: 1.5;
    margin: 0;
    -webkit-mask-image: -webkit-radial-gradient(#000, #fff);
    padding: 0;
  }
  .btn-48:disabled {
    cursor: default;
  }
  .btn-48:-moz-focusring {
    outline: auto;
  }
  .btn-48 svg {
    display: block;
    vertical-align: middle;
  }
  .btn-48 [hidden] {
    display: none;
  }
  .btn-48 {
    background: #fff;
    box-sizing: border-box;
    color: #000;
    display: block;
    font-weight: 900;
    -webkit-mask-image: none;
    padding: 1.2rem 3rem;
    perspective: 800px;
    position: relative;
    text-transform: uppercase;
    transform: rotateY(-11deg);
    transform-style: preserve-3d;
    transition: transform 0.2s;
  }
  .btn-48:before {
    background: #eee;
    content: "";
    display: block;
    height: 100%;
    left: 100%;
    position: absolute;
    top: 0;
    transform: rotateY(90deg);
    transform-origin: 0 0;
    width: 20%;
  }
  .btn-48:hover {
    transform: rotateY(-21deg);
  }
  
}

.accept-btn:hover,
.reject-btn:hover {
  background-color: #218838; /* Darker green color on hover */
}

.reject-btn {
  background-color: #dc3545; /* Red color for reject button */
}

.reject-btn:hover {
  background-color: #c82333; /* Darker red color on hover */
}

.books-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.book-card {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  transition: border-width 0.3s ease; /* Smooth transition for border thickness */
  border: 2px solid #ddd; /* Initial border */
}


.view-button,
.delete-button {
  padding: 10px 10px;
  font-size: 20px;
  border-radius: 10px;
  cursor: pointer;
}

.view-button {
  background-color: #61ca30;
  color: #fff;
}

.delete-button {
  background-color: #f44336;
  color: #fff;
}

.no-books {
  text-align: center;
  margin-top: 20px;
}

.upload-link {
  display: block;
  text-align: center;
  margin-top: 20px;
  text-decoration: none;
  background-color: #007bff;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
}

.upload-link:hover {
  background-color: #0056b3;
}


.edit-profile-container {

  background: rgba( 255, 255, 255, 0.25 );
  box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
  backdrop-filter: blur( 4px );
  -webkit-backdrop-filter: blur( 4px );
  border-radius: 10px;
  border: 1px solid rgba( 255, 255, 255, 0.18 );
  align-items: center;
  text-align: center;
  padding: 70px;
  height: fit-content;
  
}

.edit-profile-container h1 {
  margin-bottom: 20px; /* Adjust margin as needed */
}

.form-group {
  margin-bottom: 20px; /* Adjust margin as needed */
}

.form-group label {
  display: block;
  font-size: 14px; /* Adjust font size as needed */
  margin-bottom: 5px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
  width: 100%;
  padding: 8px;
  margin-top: 2px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button[type="submit"] {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
}

button[type="submit"]:hover {
  background-color: #0056b3;
}


@import url("https://fonts.googleapis.com/css?family=Poppins:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i&subset=devanagari,latin-ext");

.card1 {
  border-radius: 10px;
  filter: drop-shadow(0 5px 10px 0 #ffffff);
  width: fit-content;
  height: fit-content;
  background-color: #ffffff;
  padding: 20px;
  position: relative;
  z-index: 0;
  overflow: hidden;
  transition: 0.6s ease-in;
}

.card1::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -15px;
  right: -15px;
  background: rgb(68, 147, 173);
  height:220px;
  width: 95px;
  border-radius: 32px;
  transform: scale(1);
  transform-origin: 50% 50%;
  transition: transform 0.25s ease-out;
}

.card1:hover::before{
  transition-delay:0.2s ;
  transform: scale(40);
}

.card1:hover{
    color: #ffffff;

}

.card1 p{
    padding: 10px 0;
}