*{
  padding: 0%;
  margin: 0;
  box-sizing: border-box;
}



.buttons-container img{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    margin-right: 20px;
}

  .overview-card,.sidebar,.event, .training {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);

  }
  .slidbar{
    display: flex;
    border-left: 2px solid rgba(0, 0, 0, 0.226);
    border-right: 2px solid rgba(0, 0, 0, 0.226);
    flex-direction: column;
    min-height:100Vh;
    padding-left: 20px;
    padding-right: 20px;
    

    gap: 20px;
    
  }
  .nav-item{
    display: flex;
    align-items:center;
    font-size: 20px;
    align-self:flex-start;
  }
  .nav-item i{
    margin: 20px;
    
  }




  .event, .training {
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    
  }
  .btn-add {
    background-color: #007bff;
    color: white;
    width: 170px;
  }
  .btn-add:hover {
    background-color: #0051a8;
    color: #fff;
  }

/* overview content  */
 
.overview-card{
  display: flex;
  align-items: center;


}

.overview_card_icon i{
  margin: 20px;
  font-size: 30px;
  color: white;
  padding: 10px;
 background-color: #0356ad;
  border-radius: 50%;
  -webkit-border-radius: 20px;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}



.overview_card_icon i:hover{
  cursor: pointer;
  background-color: #003166;
  color: white;
 
}


.My_Trainings_search{
  position: relative;
}


.My_Trainings_search i{
  position: absolute;
  top: 1px;
  left: 200px;
 
  padding: 10px;
}


/* event  */

.day-container {
  display: flex;
  align-items: center;
 
  
  border-radius: 15px;
 
  margin-bottom: 15px;
}
.day{
 
  padding: 5px;
  background-color: #cdd9fa;
  border-radius: 15px;
  color: black;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.day-container .day-name {
  font-weight: bold;
  text-align: center;
  width: 50px;
  padding: 10px;
}
.day-container .day-number {
  font-size: 15px;
  
  text-align: center;

  border-radius: 12px;
  padding: 10px;
}
.day-container .event-details {
  display: flex;
justify-content: space-between;
align-items: center;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-left: 20px;
  flex-grow: 1;
}
.day-container .event-title {
  font-weight: bold;
  margin-bottom: 5px;
}
.day-container .event-time, .day-container .event-platform {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #7a7a7a;
}
.day-container .event-platform {
  margin-left: 20px;
}
.day-container .arrow {
  font-size: 14px;
  color: #7a7a7a;
}


/* Training  */


.card-training {
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
  padding: 20px;
}
.trainer-info{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  margin-bottom: 20px;
}
.trainer-info-card{
  display: flex;
  align-items: center;
  
}

.trainer-info img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
  margin-left: 10px;
}

.card-footer {
  display: flex;
  justify-content:space-around;
  align-items: center;
  font-size: 14px;
  color: #7a7a7a;
}

.view-more {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.hidden-card {
  display: none;
}

.show-more {
  background-color: #0066ff;
  color: #fff;
  border-radius: 25px;
  padding: 10px 20px;
  cursor: pointer;
}
.content{
  display: flex;
  justify-content:space-between ;
}
.Events,.Training{
  width: 100%;
  margin: 20px;
}

.event-time-clock {
  margin: 10px;
}

 .slidbar1{   
  display: none ;
}




/* student  */

.input-group {
  border-radius: 50px;

}



.btn-outline-secondary {
  border-radius: 50px;
  padding: 10px 20px;
}


.course-card {
  transition: transform 0.2s;
}
.course-card:hover {
  transform: scale(1.05);
}


.instructor-card {
  transition: transform 0.2s;
}
.instructor-card:hover {
  transform: scale(1.05);
}

.course-card img{
  height: 200px;
}

/* ================================================== */
/* from  */

 .login-box {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: auto;
  padding: 40px;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.671);
  box-sizing: border-box;
  box-shadow: 0 15px 25px rgba(0,0,0,.6);
  border-radius: 10px;
  display: none;
  backdrop-filter: blur(15px); /* إذا كنت تريد تمويه الخلفية */
  background-color: rgba(0, 0, 0, 0.5); /* خلفية نصف شفافة */

}
 .login-box.active {
  display: block;
  transform: translate(-50%, -50%) scale(1); 
  opacity: 1; 
  z-index: 99999;
}
.login-box select{

  width: 100%;
  padding: 10px 0;
  font-size: 16px;
  color: #fff;
  margin-bottom: 30px;
  border: none;
  border-bottom: 1px solid #fff;
  outline: none;
  margin: 10px;
  margin-right: 0%;
  margin-left: 0%;
  background: #9e9e9e!important;
}
 .login-box h2 {
  margin: 0 0 30px;
  padding: 0;
  color: #fff;
  text-align: center;
}

.login-box .user-box {
  position: relative;
}

 .login-box .user-box input {
  width: 100%;
  padding: 10px 0;
  font-size: 16px;
  color: #fff;
  margin-bottom: 30px;
  border: none;
  border-bottom: 1px solid #fff;
  outline: none;
  background:none!important;
}
.login-box .user-box input:focus {
  background: none !important; /* إخفاء الخلفية */
  box-shadow: none !important; /* إخفاء الظلال إذا كانت موجودة */
}
 .login-box .user-box label {
  position: absolute;
  top:0;
  left: 0;
  padding: 10px 0;
  font-size: 16px;
  color: #fff;
  pointer-events: none;
  transition: .5s;
}

 .login-box .user-box input:focus ~ label,
 .login-box .user-box input:valid ~ label {
  top: -20px;
  left: 0;
 
  font-size: 12px;

}

 .login-box form a {
  position: relative;
  display: inline-block;
  padding: 10px 20px;

  font-size: 26px;
  text-decoration: none;
  text-transform: uppercase;
  overflow: hidden;
  transition: .5s;
  margin-top: 40px;
  letter-spacing: 4px
}

.login-box button[type="submit"] {
  background-color: #0066ff;
  color: rgb(255, 255, 255);
  border: none;
  border-radius: 5px;
  padding: 12px 20px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
}

.login-box  button[type="button"] {
  background-color: #f71101;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 12px 20px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
}

.table thead th {
  background-color: #0066ff !important;
  color: #fff;
}



/* تنسيق البطاقة بشكل عام */
.card-show {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 16px;
  margin: 10px ;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 250px;
  height: 250px;
  line-height: 20px;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
color: #f7f7f7;
transition: box-shadow 0.3s ease;
overflow: hidden;

}

.card-show:hover {
  background-color: #f5f5f5;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* تأثير الظل عند hover */

}
/* تنسيق محتويات البطاقة */
.small-card-body {
  display: flex;
  flex-direction: column;
  
}

.small-card-body p {
  margin: 4px 0;
  font-size: 14px;
  color: #a5a5a5;
}

/* تنسيق أزرار الإجراءات */
.card-show-actions {
  display: flex;
  gap: 20px;
  margin-top: 10px;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(10px); /* تحريك الأزرار للأسفل */
  transition: opacity 0.3s ease, transform 0.3s ease; /* إضافة الحركة الانسيابية */
 
}


.card-show:hover .card-show-actions {
 align-items: center;
  justify-content: space-between;
  display: flex;
  opacity: 1;
  transform: translateY(0);
}
/* تنسيق زر التعديل */
.refresh-btn {
  background-color: #4caf50;
  color: white;
  border: none;
  padding: 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.refresh-btn:hover {
  background-color: #45a049;
}

/* تنسيق زر الحذف */
.delete-btn {
  background-color: #f44336;
  color: white;
  border: none;
  padding: 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.delete-btn:hover {
  background-color: #e53935;
}
.cardListe{
  display: flex;
  flex-wrap: wrap;

}
.overview_card_content p{
  font-size: 20px;
}

/* instractor desgin  */

.instructorList{
  display: flex;
  flex-wrap: wrap;
  
}

.teacherForm label {
  display: block;
  margin: 10px 0 5px;
  height: auto;
  color: white;
}

.teacherForm input,
.teacherForm select,
.teacherForm textarea {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.teacherForm button {
  width: 48%;
  padding: 10px;
  margin-top: 10px;
  border: none;
  border-radius: 4px;
  background-color: #5cb85c;
  color: white;
  cursor: pointer;
}

.teacherForm button#cancelButton {
  background-color: #d9534f;
}

/* event  */
.event-card {
  display: flex;
  border-radius: 8px;
  margin: 15px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.day-section {
  background-color: #e0e7ff;
  padding: 10px;
  text-align: center;
  min-width: 60px;
  /* margin: 10px; */
}

.day-name {
  font-weight: bold;
  color: #4f46e5;
}

.day-number {
  font-size: 20px;
  font-weight: bold;
  color: #1f2937;
}

.content-section {
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.meeting-title {
  font-size: 16px;
  font-weight: bold;
  margin: 0;
}

.meeting-time, .meeting-icon {
  margin: 5px 0;
  color: #6b7280;
  font-size: 14px;
}

.meeting-icon i {
  margin-right: 5px;
}


/* traning  */
.training-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 10px;
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  align-items: flex-start;
  position: relative;
}

.training-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.mentor-section {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.mentor-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 10px;
}

.mentor-info {
  display: flex;
  flex-direction: column;
}

.mentor-name {
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

.mentor-role {
  font-size: 14px;
  color: #666;
}

.stats-section {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.stats-section p {
  font-size: 14px;
  color: #666;
  display: flex;
  align-items: center;
}

.stats-section i {
  margin-right: 5px;
}

.arrow-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #333;
}

























@media (max-width: 1260px) {
  ul{
    padding-left: 0!important;
  }
  .cards{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  
  }
  .small-card{
  width: 380px;
  margin-bottom: 20px;
  }
}
@media (max-width: 1000px) {
  .content{
    display: flex;
    flex-direction: column;
  }
}


@media (max-width: 768px) {
  
  .buttons-container {
    display: flex;
    justify-content: center;
        gap: 1rem;
    }
    .slidbar{
        display: none ;
    }  
    .slidbar1{
      
      display: block;
  }
  .content{
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  

.Student{
  display: flex;
  flex-wrap: wrap;
}
.login-box {

  width: 100%;


}

  }

  




  @media (max-width: 500px) {
    .arrow{
      display: none;
    }
    .event-details{
      display: flex;
      flex-direction: column;
      justify-content: center!important;
  
    }
    .event-title{
      width: 100%;
      margin: auto;
    }
    .event-time{
      display: flex;
  
      flex-direction: column;
    }
    .col-10 {
      flex: 0 0 auto;
       width: 100%; 
  }

  } 