

.employee-table {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.table-header {
  display: grid;
  grid-template-columns: 50px 1fr 1fr 150px 120px;
  gap: 1rem;
  padding: 1rem;
  font-weight: bold;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 10px;
}

.employee-row {
  display: grid;
  grid-template-columns: 50px 1fr 1fr 150px 120px;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  margin: 0.5rem 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.employee-row:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  z-index: 1;
}

.employee-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.mobile {
  direction: ltr;
  unicode-bidi: bidi-override;
}

@media (max-width: 768px) {
  .table-header { display: none; }
  
  .employee-row {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1.5rem;
    position: relative;
  }

  .employee-row::before {
    content: attr(data-label);
    position: absolute;
    left: 15px;
    font-weight: bold;
    font-size: 0.8em;
    color: #666;
  }

  .employee-row > div {
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 4px;
    margin-bottom: 5px;
    text-align: left;
    padding-left: 80px;
  }

  .employee-photo {
    position: absolute;
    left: 15px;
    top: 15px;
    width: 50px;
    height: 50px;
  }
}


.faculty-table {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.ftable-header {
  display: grid;
  grid-template-columns: 50px 0.5fr 0.5fr 0.5fr 180px 120px;
  gap: 1rem;
  padding: 1rem;
  font-weight: bold;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 10px;
}

.faculty-row {
  display: grid;
  grid-template-columns: 50px 0.5fr 0.5fr  0.5fr 180px 120px;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  margin: 0.5rem 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.faculty-row:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  z-index: 1;
}

.faculty-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}


@media (max-width: 768px) {
  .table-header { display: none; }
  
  .faculty-row {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1.5rem;
    position: relative;
  }

  .faculty-row::before {
    content: attr(data-label);
    position: absolute;
    left: 15px;
    font-weight: bold;
    font-size: 0.8em;
    color: #666;
  }

  .faculty-row > div {
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 4px;
    margin-bottom: 5px;
    text-align: left;
    padding-left: 80px;
  }

  .faculty-photo {
    position: absolute;
    left: 15px;
    top: 15px;
    width: 50px;
    height: 50px;
  }
}

 .btn-affiliation {
            border-radius: 5px;
            background-color: #ebcf60;
            color: #340C6F;
            border: 2px solid #340C6F;
            width: 150px;
            height: 40px;
            padding: 5px;
            margin: 5px;
            text-align: center;
            text-decoration: none;
            font-size: 16px;
            font-weight: 500;
            transition: all 0.3s ease;
        }
        
        .btn-affiliation:hover {
            background-color: #340C6F;
            color: #ebcf60;
            border: 2px solid #ebcf60;
        }
        
        .pdf-container {
            border: 3px solid #340C6F;
            border-radius: 10px;
            width: 100%;
            height: 600px;
            margin-top: 15px;
        }
        
        .custom-div {
            border: 1px solid #ddd;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            padding: 20px;
            margin-bottom: 20px;
            background-color: #fff;
        }
        
        .button-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px;
            margin-bottom: 15px;
        }
        
        @media only screen and (max-width: 768px) {
            .pdf-container {
                height: 400px;
            }
            
            .btn-affiliation {
                width: 120px;
                height: 35px;
                font-size: 14px;
                margin: 3px;
            }
        }
        
        @media only screen and (max-width: 576px) {
            .pdf-container {
                height: 300px;
            }
            
            .btn-affiliation {
                width: 100px;
                height: 30px;
                font-size: 12px;
                padding: 2px;
            }
            
            .custom-div {
                padding: 15px;
            }
        }

        .alink{
      color:black;
      text-decoration: none;
    }
    .alink:hover{
      background-color: black;
      color: white;
    }