.student-view{
    height: auto;
    border: 1.5px solid #091057;
    margin-top: 15px;
    border-radius: 5px;
    border-top: 5px solid #091057;
    padding: 10px;
    box-shadow: 0px 4px 20px rgba(0,0,0,0.1);
}
.student-view .title-area{
    height: auto;
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid #091057;
    padding: 10px 10px 5px 10px;
    margin-top: 10px;
    font-weight: 400;
    display: flex;
    justify-content: space-between;
    box-shadow: 0 6px 12px rgba(0, 42, 84, 0.18);
}
.student-view .title-area a button{
    background-color: #091057;
    color: #fff;
    border: none;
    padding: 2px 15px;
    border-radius: 5px;
    font-weight: 400;
    box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
}
.student-view table thead tr th{
    font-size: 14px;
    letter-spacing: 0.3px;
    border-bottom: 2px solid #091057;
    background-color: #0d3d6e;
    color: #fff;
    border-radius: 5px;
    padding-top: 6px;
    padding-bottom: 6px;
}
.student-view table tbody tr td{
    font-size: 14px;
    letter-spacing: 0.3px;
}
/*student admission form */
.student-view .personal-details{
    height: auto;
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid #091057;
    padding: 15px 10px 5px 10px;
    margin-top: 10px;
    font-weight: 400;
}
.student-view .personal-details label{
    font-size: 14px;
    letter-spacing: 0.3px;
}
.student-view .personal-details input[type="text"]{
    border-radius: 10px;
    text-transform: uppercase !important;
    font-size: 14px;
    height: 40px;
    padding-top: 8px;
    background-color: #9AC8CD;
}
.student-view .personal-details input[type="email"] {
    border-radius: 10px;
    font-size: 14px;
    height: 40px;
    padding-top: 8px;
    background-color: #9AC8CD;
}
.student-view .personal-details input[type="file"]{
    border-radius: 10px;
    font-size: 14px;
    height: 40px;
    padding-top: 8px;
    background-color: #9AC8CD;
}
.student-view .personal-details input[type="text"]::placeholder, 
.student-view .personal-details input[type="email"]::placeholder,
.student-view .personal-details input[type="file"]::placeholder{
    font-size: 14px!important;
    letter-spacing: 0.5px;
    text-transform: capitalize!important;
}
.student-view .personal-details input[type="date"]{
    border-radius: 10px;
    font-size: 14px;
    height: 40px;
    background-color: #9AC8CD;
}
.student-view .personal-details select{
    border-radius: 10px;
    font-size: 14px;
    height: 40px;
    background-color: #9AC8CD;
}
.radio-group {
  display: flex;
  gap: 20px;
  justify-content: right;
}
.custom-radio {
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  font-size: 16px;
  user-select: none;
}
.custom-radio input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}
.radio-btn {
  position: absolute;
  left: 0;
  top: 1px;
  height: 20px;
  width: 20px;
  background-color: #f0f0f0;
  border: 2px solid #999;
  border-radius: 50%;
  transition: 0.2s;
}
.custom-radio input:checked ~ .radio-btn {
  border-color: #2196F3;
  background-color: #2196F3;
}
.radio-btn::after {
  content: "";
  position: absolute;
  display: none;
}
.custom-radio input:checked ~ .radio-btn::after {
  display: block;
}
.radio-btn::after {
  top: 4px;
  left: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
}
.student-btn input[type="submit"]{
    padding: 4px 35px;
    background-color: #2196F3;
    color: #fff;
    border: none;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.student-btn input[type="reset"]{
    padding: 4px 35px;
    background-color: #FF004D;
    color: #fff;
    border: none;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.student-view textarea{
  font-size: 14px;
}
.badge-outline-warning {
    color: #313131; /* warning color */
    border: 1px solid #ffc107;
    border-radius: 20px;
    background-color: #FFF4A4;
}

/* toast */
@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
  60% {
    opacity: 1;
    transform: translateY(10px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes slideOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
}

.toast {
  position: fixed;
  top: 20px;
  right: 10px;
  background-color: #347433;
  color: #fff;
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  font-size: 16px;
  z-index: 9999;
  opacity: 0;
  transform: translateY(-30px);
  pointer-events: none;
}

.toast.show {
  animation: slideIn 0.6s ease-out forwards;
}

.toast.hide {
  animation: slideOut 0.5s ease-in forwards;
}
.toast.success{
  background-color: #347433; /* Green */
  color: white;
}
.toast.error{
  background-color: #e53935; /* Red */
  color: white;
}


@keyframes slideIn1 {
  0% {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
  60% {
    opacity: 1;
    transform: translateY(10px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes slideOut1 {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
}

.toast1 {
  position: fixed;
  top: 20px;
  right: 10px;
  background-color: #347433;
  color: #fff;
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  font-size: 16px;
  z-index: 9999;
  opacity: 0;
  transform: translateY(-30px);
  pointer-events: none;
}

.toast1.show {
  animation: slideIn1 0.6s ease-out forwards;
}

.toast1.hide {
  animation: slideOut1 0.5s ease-in forwards;
}
.toast1.success{
  background-color: #347433; /* Green */
  color: white;
}
.toast1.error{
  background-color: #e53935; /* Red */
  color: white;
}

.student-view .all_records{
  background-color: #fff;
  padding: 10px;
  border-radius: 5px;
  border: 0.1px solid #091057;
}
.details-title{
  background-color: #091057;
  color: #fff;
  padding: 10px;
  border-radius: 5px 5px 0px 0px;
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.6); /* halka sa white overlay */
    backdrop-filter: blur(5px); /* body blur effect */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Spinner CSS */
.spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg);}
    100% { transform: rotate(360deg);}
}
.student-edit{
    height: auto;
    border: 1.5px solid #091057;
    margin-top: 15px;
    border-radius: 5px;
    border-top: 5px solid #091057;
    padding: 10px;
}
.student-edit .personal-details{
    height: auto;
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid #091057;
    padding: 15px 10px 5px 10px;
    margin-top: 10px;
    font-weight: 400;
}
.student-edit .personal-details table thead tr th{
  border-bottom: 2px solid #091057;
}
#personal-fee table thead tr th{
  background-color: #4300ff;
  color: #fff;
}