*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Kanit',sans-serif;
}

body{
  min-height:100vh;

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

  padding:30px;

  background:
  linear-gradient(
    135deg,
    #dbeafe 0%,
    #eff6ff 30%,
    #f5f3ff 100%
  );
}

/* Main Container */

.main-box{
  width:100%;
  max-width:1200px;

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

  backdrop-filter:blur(15px);

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

  border-radius:35px;

  padding:60px 50px;

  box-shadow:
  0 10px 40px rgba(0,0,0,0.08);

  position:relative;
  overflow:hidden;
}

/* Background Effect */

.main-box::before{
  content:'';

  position:absolute;

  width:300px;
  height:300px;

  background:#93c5fd;

  border-radius:50%;

  top:-120px;
  left:-120px;

  opacity:.25;

  filter:blur(30px);
}

.main-box::after{
  content:'';

  position:absolute;

  width:280px;
  height:280px;

  background:#c4b5fd;

  border-radius:50%;

  bottom:-120px;
  right:-120px;

  opacity:.25;

  filter:blur(30px);
}

/* Header */

.title{
  text-align:center;
  margin-bottom:50px;

  position:relative;
  z-index:2;
}

.title h1{
  font-size:2.5rem;
  color:#1e293b;
  margin-bottom:10px;
}

.title p{
  color:#64748b;
  font-size:1.1rem;
}

/* Cards */

.card-wrapper{
  display:flex;
  gap:35px;

  justify-content:center;
  flex-wrap:wrap;

  position:relative;
  z-index:2;
}

.login-card{
  width:350px;
  min-height:430px;

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

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

  border-radius:40px;

  padding:40px 30px;

  text-decoration:none;
  color:#111827;

  display:flex;
  flex-direction:column;

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

  text-align:center;

  transition:all .35s ease;

  box-shadow:
  0 8px 25px rgba(0,0,0,0.06);

  position:relative;
  overflow:hidden;
}

.login-card:hover{
  transform:translateY(-10px) scale(1.02);

  box-shadow:
  0 20px 45px rgba(0,0,0,0.12);
}

/* Top Border Color */

.login-card::before{
  content:'';

  position:absolute;

  width:100%;
  height:7px;

  top:0;
  left:0;
}

.student::before{
  background:
  linear-gradient(
    to right,
    #2563eb,
    #06b6d4
  );
}

.guest::before{
  background:
  linear-gradient(
    to right,
    #7c3aed,
    #ec4899
  );
}

/* Icon */

.icon{
  width:110px;
  height:110px;

  border-radius:30px;

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

  margin-bottom:30px;

  font-size:3rem;

  color:white;
}

.student .icon{
  background:
  linear-gradient(
    135deg,
    #2563eb,
    #06b6d4
  );
}

.guest .icon{
  background:
  linear-gradient(
    135deg,
    #7c3aed,
    #ec4899
  );
}

/* Text */

.login-card h2{
  font-size:2.2rem;
  line-height:1.4;

  margin-bottom:18px;

  font-weight:700;
}

.login-card p{
  color:#64748b;

  font-size:1rem;
  line-height:1.7;

  margin-bottom:30px;
}

/* Button */

.btn{
  padding:12px 28px;

  border-radius:14px;

  color:white;

  font-weight:500;
  font-size:1rem;

  transition:.3s;
}

.student .btn{
  background:
  linear-gradient(
    to right,
    #2563eb,
    #06b6d4
  );
}

.guest .btn{
  background:
  linear-gradient(
    to right,
    #7c3aed,
    #ec4899
  );
}

.login-card:hover .btn{
  transform:scale(1.05);
}

/* Responsive */

@media(max-width:768px){

  .main-box{
    padding:40px 20px;
  }

  .title h1{
    font-size:2rem;
  }

  .login-card{
    width:100%;
    min-height:380px;
  }

  .login-card h2{
    font-size:1.8rem;
  }

}
