.error-message {
  color: #ff4d4f;
  font-size: 0.875rem;
  margin-top: 5px;
  font-weight: bold;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}

* {
  margin: 0;
  padding: 0;
  list-style: none;
  box-sizing: border-box;
}

/* body { */
/* font-family: Arial, sans-serif;
    min-height: 100vh;
    background: linear-gradient(to right, #0093E9, #80D0C7);
    display: flex;
    justify-content: center;
    align-items: center;
} */
 .register-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: sans-serif;
}

.register-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.register-form-group {
    display: flex;
    flex-direction: column;
    
}
.register-form-group input {
    border-radius: 8px;
    background-color: #FFFFFFB2;
    margin-bottom: 10px;
    
}
.register-form-group select {
    border-radius: 8px;
    background-color: #FFFFFFB2;
    margin-bottom: 25px;
    
}
.register-form-group label {
    margin-bottom: 6px;
    font-weight: 500;
    color: #333;
}
.form-group input{
border-radius: 8px;
    background-color: #FFFFFFB2;
}

.register-form-group input,
.register-form-group select {
    padding: 10px;
    border: none;
    border-bottom: 1px solid #ccc;
    font-size: 14px;
    outline: none;
    color: rgba(70, 119, 158, 1);
}

.register-form-group input:focus,
.register-form-group select:focus {
    border-color: #0056b3;
}

.register-form-actions {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    justify-content: end;
}

.register-cancel-btn {
    background-color: #376BA6;
    border: 1px solid rgb(255, 255, 255);
    color: rgb(255, 255, 255);
    padding: 10px 20px;
    cursor: pointer;
    font-size: 20px;
    font-weight: 600;
  border-radius:8px;
  width:150px;
}

.register-submit-btn {
    background-color: rgba(14, 89, 149, 1);
    border: none;
    color: white;
    padding: 10px 20px;
    cursor: pointer;
      font-size: 18px;
    font-weight: 600;
  border-radius:8px;
  width:200px;
}
.register-form-group-icon {
    position: relative;
    margin-bottom: 20px;
}

.register-form-group-icon input {
    width: 100%;
    padding: 10px 40px 10px 35px;
    border: none;
    border-bottom: 1px solid #999;
    outline: none;
    font-size: 15px;
    color: #333;
}

.register-form-group-icon i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 16px;
    pointer-events: none;
}

.register-form-group-icon .fa-user,
.register-form-group-icon .fa-lock {
    left: 10px;
}

.register-form-group-icon .fa-eye {
    right: 10px;
    cursor: pointer;
    pointer-events: all;
}




.container {
  display: flex;
  flex-direction: column;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.login_register {
  /* display: flex; */
  align-items: center;
  justify-content: center;
  /* height: 100vh; */
  margin-top: 50px;
  

}
.login-form-size{
width: 1440px;
height: 800px;



}
.login_register .login-section {
  flex: 1;
  /* padding: 40px; */
  display: flex !important;
  flex-direction: column !important;
  z-index: 11;
  align-items: center;

  
}
.login-buttons {
  display: flex;
  gap: 10px;
  margin-top: 100px;
}

.login-button {
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* Mavi dolu button */
.login-button.primary {
  background-color: #007BFF;
  color: white;
  border: 1px solid #007BFF;
}

/* Ağ içli, mavi borderli button */
.login-button.outlined {
  background-color: white;
  color: #007BFF;
  border: 1px solid #007BFF;
}

.login-button.outlined:hover {
  background-color: #007BFF;
  color: white;
}


.login_register .login-section h1 {
  margin-bottom: 20px;
  text-align: center;
  color: rgba(14, 89, 149, 1);
  margin-bottom: 50px;
}
.login_register .login-section-register h1 {
  margin-bottom: 20px;
  text-align: center;
  color: rgba(14, 89, 149, 1);

}

.back-image-login {
  flex: 1;
  /* padding: 40px; */
  background-image: url('/images/loginback.webp');
  color: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  background-repeat: no-repeat;
  justify-content: center;
  background-color: #0093E9;
  gap: 20px;
  text-align: center;
  background-size: contain;
}
.user-overlay {

    position: absolute;
    inset: 0;
    opacity: 80%;
    background: linear-gradient(to left, #0B4191, #1559A1,#2590E6); /* Your gradient here */
    
    
}

.login_register .logo {
  width: 150px;
  height: auto;
  margin-bottom: 20px;
  margin-top: 200px;
}
.login_register .logo_register {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
}

.login_register.login-section h1 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #333;
}

.login_register .form-group {
  width: 100%;
  /* max-width: 400px; */
  margin-bottom: 15px;
}

.login_register .form-group input {
  width: 100%;
  padding: 10px;
  border: none;
  border-bottom: 1px solid #ccc;
  font-size: 1rem;
  background-color: white ;
  color: rgba(117, 120, 122, 1);
  border-radius: 8px;
}

.fa-solid,
.fas {
  font-size: 18px;
}

.form-group {
  position: relative;
}

.form-group input {
  padding-left: 40px;
  width: 100%;
  height: 40px;
  font-size: 16px;
}

.form-group a {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);

  height: auto;
  font-size: 18px;

}

.login_register .form-group input:focus {
  border-color: #0093E9;
  outline: none;
}

.login_register .checkbox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;

  max-width: 400px;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.login_register .checkbox label {
  font-size: 12px;
}

.login_register .checkbox a {
  font-size: 12px;
}

.login_register .login-button {
  width: 100%;
  max-width: 400px;
  padding: 10px;
  background: rgba(14, 89, 149, 1);
  color: #fff;
  border: 1px solid rgba(14, 89, 149, 1);
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.login_register .login-button:hover {
  background: #fff;
  color: rgba(14, 89, 149, 1);
}
.login_register .login-registers {
  width: 100%;
  max-width: 400px;
  padding: 10px;
  text-align: center;
  /* background-color: #fff; */
  color: rgb(255, 255, 255);
  border: 1px solid rgb(255, 255, 255);
  border-radius: 5px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
  text-decoration: none;
}

.login_register .login-registers:hover {
  background: rgb(253, 253, 253);
  color: rgba(14, 89, 149, 1);
}
.info-section{
z-index: 11;
}

.login_register.info-section h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.login_register .info-section p {
  font-size: 1rem;
  max-width: 400px;
}


.tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 40px;
  margin-top: 30px;
  /* position: absolute; */
  bottom: 0;
  /* width: 600px; */
}

.tab-btn {
  padding: 12px 24px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 220px;
  height: 80px;
}



.tab-btn:hover {
  opacity: 0.9;
}


.tab-btn.active {
  background-color: white;
  color: #0056b3;
  backdrop-filter: blur(4px);
  width: 220px;
}
.footer-text {
  text-align: center;
  margin-top: 750px;
  font-size: 20px;
  color: #fff;

}
.btn-user-gradient {
  /* background: linear-gradient(to right, rgba(191, 78, 245, 1), rgba(195, 69, 255, 1),rgba(107, 19, 148, 1)); */
  background-color: #FFFFFFCC;
  color: #75787A;
  font-size: 17px;
  font-weight: 700;
  border-radius: 10px;
  min-width: 178px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 10px rgba(176, 53, 230, 0.4);
  border: none;
  cursor: pointer;
  transition: 0.3s ease;
}
.btn-user-gradient.active {
  color: #0E5995;
  background-color: #fff;
 
}

.btn-student-gradient {
   background-color: #FFFFFFCC;
  color: #75787A;
  font-size: 17px;
  font-weight: 700;
  border-radius: 10px;
  min-width: 178px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 10px rgba(176, 53, 230, 0.4);
  border: none;
  cursor: pointer;
  transition: 0.3s ease;
}
.btn-student-gradient.active {
  color: #0E5995;
  background-color: #fff;
 
}

.btn-student-gradient:active {
  color: black;
}
.arrow-left,
.arrow-right {
  display: none;
}

.btn-user-gradient.active .arrow-left,
.btn-user-gradient.active .arrow-right,
.btn-student-gradient.active .arrow-left,
.btn-student-gradient.active .arrow-right {
  display: inline;
}



.btn-user-gradient span {
  font-size: 18px;
}


@media (min-width: 768px) {
  .container {
    flex-direction: row;
  }

  .tabs_mobile {
    display: none;
  }

  .login_register .login-section,
  .info-section {
    flex: 1;
  }
  .login_register .tabs {
    flex-direction: row;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .register-top{
  display: inline;
  margin-top: 150px;
  width: 100%;
  z-index: 22;
}
  .login-section .logo{
    display: none !important;
  }
  .footer-text{
    position: absolute;
  }

.login_register {
    display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin-top: 0px;
  

}
.tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 40px;
  margin-top: 30px;
  bottom: 0;
  
}

.tab-btn {
  padding: 12px 24px;
  font-size: 16px;
  border: none;
  border-radius: 0px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 220px;
  height: 80px;
}
.btn-user-gradient {

  border-radius: 0px;

}
.register-submit-btn {
    background-color:#1092FA;
  
 
}
.register-cancel-btn{
background-color: none;
}
.btn-student-gradient {
  
  border-radius: 0px;
 
}
.login-buttons{
  display: inline;
}
.login-registers{
   background-color: none !important;

  height: 50px;
  font-size: 19.28px;
  font-weight: 600;
  line-height: 32px;
 
  
}
.login-button{
  background-color: #1092FA !important;
  margin-bottom: 10px;
  margin-top: 40px;
  height: 50px;
  font-size: 19.28px;
  font-weight: 600;
  line-height: 32px;
  box-shadow: none;
}
.back-image-login {
  flex: 1;
  /* padding: 40px; */
  background-image: url('/images/loginback.webp');
  color: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  background-repeat: no-repeat;
  justify-content: center;
  background-color: #0093E9;
  gap: 20px;
  text-align: center;
  background-size:cover;
}
.login_register .logo {
  width: 150px;
  height: auto;
  margin-bottom: 20px;
  margin-top: 100px;
}
  .user-veritical-line{
    margin-top: 0px !important;
    display: none;
  }
  .login_register .login-section {


  display: inline !important;
  flex-direction: column !important;
  z-index: 11;
  align-items: center;

  
}
.form-group input {
  padding-left: 40px;
  width: 80%;
  height: 50px;
  font-size: 16px;
}
.login_register .form-group {
  width: 90%;
  /* max-width: 400px; */
  margin-bottom: 15px;
  margin-left: 20px;
}


/* .back-image-login {
  flex: 1;

  background-image: none;
  color: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  background-repeat: no-repeat;
  justify-content: center;
  background-color: #0093E9;
  gap: 20px;
  text-align: center;
  background-size: contain;
} */

  .login-section {
    width: 100%;
  }

  .tabs_mobile {
    display: none;
   
  }

  .tabs_mobile button {
    flex: 1;

    font-size: 15px;
    background-color: #ddd;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .tabs_mobile button.active {
    background-color: #0093E9;
    color: white;
  }

  .tabs_mobile button:hover {
    background-color: #0093E9;
    color: white;
  }
}


/* Dashboard */
.dashboard {
  display: flex;
  background-color: #F2F2F2;
  ;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.dashboard .container_dash {
  width: 1920px;
  display: flex;
  gap: 20px;
  max-width: 95%;
  margin: 0 auto;
  height: 95vh;
}

.dashboard .container_dash .navbar {
  border-radius: 15px;
  background: #5C80BF;
  width: 60px;
  height: 95vh;
  flex-shrink: 0;
  display: flex;

  justify-content: center;
  align-items: center;
}

.dashboard .container_dash .navbar .nav-menu .menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;


}


/* Search_area */


.dash_center_div {
  width: 1200px;
}

.dash_center_div .top_area {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dash_center_div .top_area .icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}


.dash_center_div .top_area .icons .icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  background: #5C80BF;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.dash_center_div .top_area .icons .icon a svg {
  border-color: #fff;
  height: 30px;
}

.dash_center_div .top_area .searchBox {


  background: #5C80BF;

  border-radius: 40px;
  padding: 10px;

}

.searchBox:hover>.searchInput {
  width: 240px;
  padding: 0 6px;
}

.searchBox:hover>.searchButton {
  background: white;
  color: #5C80BF;
}

.searchButton {
  color: white;
  float: right;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.4s;
}

.searchButton i {
  color: #333;
}

.searchInput {
  border: none;
  background: none;
  outline: none;
  float: left;
  padding: 0;
  color: white;
  font-size: 16px;
  transition: 0.4s;
  line-height: 40px;
  width: 0px;

}

.searchInput::placeholder {
  color: white;
}

@media screen and (max-width: 620px) {
  .searchBox:hover>.searchInput {
    width: 150px;
    padding: 0 6px;
  }
}

/* 
right_div */
.right_div {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.right_div i {
  color: #fff;
}

.file-card,
.card_border {
  background: #fefefe;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 300px;
  height: 289px;
  text-align: center;
  position: relative;
}


.profile-card .account {

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  height: 214px;
}

.card_border .card_top {
  color: #FFF;
  font-family: Poppins;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  color: #fff;
  border-radius: 10px;
  padding: 13px;
  font-weight: bold;
  background: #5C80BF;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.profile-card .account .account_text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #5C7EBE;
  font-family: Poppins;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}




.profile-card .avatar {

  width: 80px;
  height: 80px;
  background: #e0e0e0;
  border-radius: 50%;
}

.profile-card .name {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0;
}

.profile-card .description {
  font-size: 14px;
  color: #777;
  text-align: left;
}

.profile-card .status {
  font-size: 14px;
  color: #4a90e2;
  margin-top: 10px;
}

.fa-2x {
  font-size: 2em;
}

.fa {
  position: relative;
  display: table-cell;
  width: 60px;
  height: 36px;
  text-align: center;
  vertical-align: middle;
  font-size: 20px;
}

.main-menu {
  border-radius: 15px;
  background: #5c80bf;
  border-right: 1px solid #e5e5e5;
  position: absolute;
  top: 2.5vh;
  bottom: 0;
  height: 95vh;
  left: 0;
  width: 60px;
  overflow: hidden;
  -webkit-transition: width 0.5s ease-in-out;
  transition: width 0.5s ease-in-out;
  -webkit-transform: translateZ(0) scale(1, 1);
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.main-menu.expanded-navbar {
  width: 250px;
}

.main-menu>ul {
  margin: 7px 0;
}

.main-menu li {
  position: relative;
  display: block;
  width: 250px;
}

.main-menu li>a {
  position: relative;
  display: table;
  color: #fff;
  font-family: arial;
  font-size: 14px;
  text-decoration: none;
  -webkit-transition: all 0.1s linear;

  transition: all 300ms ease;
}

.main-menu .nav-text {
  position: relative;
  display: table-cell;
  transition: all 500ms ease;
  vertical-align: middle;
  width: 190px;
  font-family: 'Titillium Web', sans-serif;
}

.main-menu>ul.logout {
  position: absolute;
  left: 0;
  bottom: 0;
}

a:hover,
a:focus {
  text-decoration: none;
}

.main-menu li:hover>a,
nav.main-menu li.active>a,
.dropdown-menu>li>a:hover,
.dropdown-menu>li>a:focus,
.dropdown-menu>.active>a,
.dropdown-menu>.active>a:hover,
.dropdown-menu>.active>a:focus {
  color: #fff;
  background-color: #000000;
}

nav {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}

nav ul,
nav li {
  outline: 0;
  margin: 0;
  padding: 0;
}

.dropdown {
  position: relative;
  display: block;
}

.dropdown-content {
  display: none;
  position: relative;
  background-color: #5c80bf;
  width: 100%;
  left: 0;
  top: 100%;
  box-sizing: border-box;
  padding-bottom: 10px;
  margin-top: 10px;
  transition: all 0.5s ease-out;

}

.dropdown-content a {
  color: white;
  padding: 12px 12px 12px 45px;
  text-decoration: none;
  display: block;
  transition: all 500ms ease;

  opacity: 0;
  /* Start with invisible */

}

.dropdown-content a:hover {
  background-color: #575757;
  color: #fff;
}

.dropdown-content {
  z-index: 20;
  position: relative;
}

.dropdown.expanded>.dropdown-content {
  display: block;
}

.main-menu:hover {
  width: 250px;
}

/* Hover effect to open dropdown */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Staggered delay effect for each link in the dropdown */
.dropdown-content a:nth-child(2n+1) {
  transition-delay: 0.15s;
}

.dropdown-content a:nth-child(2n+2) {
  transition-delay: 0.2s;
}

.dropdown-content a:nth-child(2n+3) {
  transition-delay: 0.25s;
}

.dropdown-content a:nth-child(2n+4) {
  transition-delay: 0.3s;
}

/* Make dropdown content visible when hovered */
.dropdown:hover .dropdown-content a {
  opacity: 1;
  /* Fade in on hover */
  transform: translateX(0);
  /* Slide-in effect */
}
.user-veritical-line {
    width: 2px; 
    height: 500px; 
    background-color: #fff; 
    margin-top: 145px; 
    z-index: 11;
}
.register-veritical-line{
   width: 2px;
  height: 600px;
  background-color: #fff;
  margin-top: -45px;
  z-index: 11;
}
.register-top{
  display: flex;
  margin-top: 150px;
  width: 100%;
}
.footer-top-register{
  margin-top: 150px;
  
}
@media (max-width: 768px) {
  .register-top{
  display: inline;
  margin-top: 150px;
  width: 100%;
  z-index: 22;
}
.register-veritical-line{
  display: none;
}
.register-form-grid {
    
    gap: 5px;
}

}

