* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Courier New', Courier, monospace;
}

body {
  min-height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
  url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?q=80&w=2070&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.toast-error{
    position: fixed;
    top: 20px;
    right: 20px;
    background: #dc2626;
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: bold;
    box-shadow: 0 5px 20px rgba(0,0,0,.3);
    display:none;
}

.container {
  width: 100%;
  max-width: 1200px;
  background: rgba(255,255,255,0.96);
  border-radius: 30px;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.left {
  background: linear-gradient(135deg, #082567, #0d47a1, #1976d2);
  color: white;
  padding: 50px;
  position: relative;
  overflow: hidden;
}

.left::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.2);
}

.left-content {
  position: relative;
  z-index: 1;
}

.navbar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
  width: 100%;
  flex-wrap: wrap;
}

.logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.logo img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  display: block;
}

.navbar-title {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.navbar-title h2 {
  font-size: clamp(22px, 4vw, 32px);
  color: white;
  line-height: 1.2;
  word-break: break-word;
  overflow-wrap: break-word;
}

.navbar-title span {
  color: #dbeafe;
  font-size: 14px;
  margin-top: 4px;
}
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.left h1 {
  font-size: 42px;
  line-height: 1.3;
  margin-bottom: 20px;
}

.left p {
  line-height: 1.8;
  color: #dbeafe;
  font-size: 16px;
  text-align: justify;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 35px;
}

.stat-box {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(5px);
  padding: 20px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: 0.3s;
}

.stat-box:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.16);
}

.stat-icon {
  width: 58px;
  height: 58px;
  min-width: 58px;
  border-radius: 16px;
  background: rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: inset 0 0 10px rgba(255,255,255,0.08);
}

.stat-content {
  display: flex;
  flex-direction: column;
}

.stat-box h3 {
  font-size: 30px;
  margin-bottom: 8px;
}

.right {
  padding: 50px;
  background: white;
}

.right h2 {
  font-size: 38px;
  color: #1f2937;
  margin-bottom: 10px;
}

.right p {
  color: #6b7280;
  margin-bottom: 30px;
}

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

.stat-full {
  grid-column:1 / -1;

width:100%;
max-width:100%;

overflow:hidden;

padding:20px;

box-sizing:border-box;
}

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

.floating-group {
  position: relative;
  margin-bottom: 24px;
}

.floating-group input,
.floating-group select,
.floating-group textarea {
  width: 100%;
  padding: 24px 18px 12px;
  border-radius: 18px;
  border: 1px solid #d1d5db;
  outline: none;
  font-size: 15px;
  transition: 0.3s;
  background: white;
}

.nik-status {
  margin-top: -10px;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: bold;
}

.floating-group label {
  position: absolute;
  left: 18px;
  top: 18px;
  color: #6b7280;
  font-size: 15px;
  pointer-events: none;
  transition: 0.3s ease;
  background: white;
  padding: 0 6px;
}

.floating-group input:focus + label,
.floating-group input:not(:placeholder-shown) + label,
.floating-group textarea:focus + label,
.floating-group textarea:not(:placeholder-shown) + label,
.floating-group select:focus + label,
.floating-group select:valid + label {
  top: -10px;
  left: 14px;
  font-size: 12px;
  color: #2563eb;
  font-weight: bold;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid #d1d5db;
  outline: none;
  font-size: 15px;
  transition: 0.3s;
}

input:disabled,
select:disabled,
textarea:disabled,
button:disabled {
  background: #e5e7eb;
  cursor: not-allowed;
  opacity: 0.7;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37,99,235,0.15);
}

button {
  width: 100%;
  background: #0d47a1;
  color: white;
  border: none;
  padding: 16px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 10px 20px rgba(13,71,161,0.25);
}

button:hover {
  background: #08306b;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  body {
    padding: 12px;
  }

  .container {
    border-radius: 20px;
  }

  .left,
  .right {
    padding: 25px;
  }

  .navbar {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .logo {
    width: 60px;
    height: 60px;
    font-size: 22px;
    flex-shrink: 0;
  }

  .navbar-title h2 {
    font-size: 22px;
    line-height: 1.3;
    word-break: break-word;
  }

  .navbar-title span {
    font-size: 11px;
    line-height: 1.4;
    word-break: break-word;
  }

  .left h1 {
    font-size: 28px;
  }

  .left p {
    font-size: 14px;
  }

  .right h2 {
    font-size: 28px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .stat-box {
    padding: 16px;
  }

  button {
    font-size: 15px;
    padding: 14px;
  }
}

@media (max-width: 480px) {
  .navbar {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
  }

  .navbar-title h2 {
    font-size: 18px;
    line-height: 1.3;
  }

  .left h1 {
    font-size: 24px;
  }

  .right h2 {
    font-size: 24px;
  }

  .floating-group input,
  .floating-group select,
  .floating-group textarea {
    font-size: 14px;
  }
}

  .left h1 {
    font-size: 30px;
  }

  .right h2 {
    font-size: 30px;
  }

  .carousel-wrapper{

display:flex;

width:100%;
max-width:100%;

transition:transform .6s ease-in-out;

}

.carousel-slide{

min-width:100%;
width:100%;

flex-shrink:0;

display:grid;

grid-template-columns:
repeat(3,minmax(0,1fr));

gap:16px;

box-sizing:border-box;

}

.student-card{

width:100%;
min-width:0;

display:flex;
align-items:center;
gap:14px;

padding:18px;

border-radius:18px;

background:
rgba(255,255,255,0.08);

border:
1px solid rgba(255,255,255,0.15);

box-sizing:border-box;

}

.student-avatar{

width:60px;
height:60px;

min-width:60px;

border-radius:50%;

display:flex;
align-items:center;
justify-content:center;

background:
rgba(255,255,255,0.15);

font-size:28px;

}

.student-info{

min-width:0;
width:100%;

}

.student-info h3{

color:white;
font-size:18px;

white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;

}

.student-info span{

color:#dbeafe;
font-size:13px;

}

@media(max-width:992px){

.carousel-slide{

    grid-template-columns:
    repeat(2,minmax(0,1fr));

}

}

@media(max-width:768px){

.carousel-slide{

    grid-template-columns:1fr;

}

}
