@font-face {
  font-family: 'BROmnyRegular';
  src: url('fonts/BROmnyRegular.ttf');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'BROmnyMedium';
  src: url('fonts/BROmnyMedium.ttf');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'BROmny-SemiBold';
  src: url('fonts/BROmny-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  height: 100vh;
  overflow: hidden;
}

.container {
  display: flex;
  height: 100vh;
  background: linear-gradient(90deg, #1d3480 10%, #7B5CBF 30%, #B85AA8 60%, #e21681 100%);
}

.left-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 50px 60px 30px;
  position: relative;
  z-index: 2;
}

.welcome-content {
  flex: 1;
}

.welcome-title {
  color: white;
  font-family: 'BROmny-SemiBold', sans-serif;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.2;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 60px;
}

@media (min-width: 1024px) {
  .logo-text {
    width: 580px;
  }
}

@media (max-width: 768px) {
.logo-text {
  width: 360px;
 }
}

.logo-text::after {
  margin-top: -8px;
  letter-spacing: 6px;
}

.logo-badge {
  background: white;
  color: #3B4EC7;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  font-style: italic;
}

.login-bg {
  border-radius: 36px;
  background-color: rgb(255, 255, 255);
  opacity: 0.259;
  box-shadow: 14.142px 14.142px 27px 0px rgba(0, 0, 0, 0.6);
  position: absolute;
  display: flex;
  left: -52px;
  top: 240px;
  width: 1311px;
  height: 390px;
  z-index: -500;
}

.login-form {
  max-width: 400px;
  margin-left: 75px;
}

.login-question {
  color: white;
  font-family: 'BROmnyMedium', sans-serif;
  font-size: 22px;
  margin-bottom: 25px;
  font-weight: 500;
}

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

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 10px;
  width: 42px;
  height: 42px;
  color: #E91E63;
  z-index: 23;
}

.form-input {
  width: 100%;
  padding: 16px 20px 16px 65px;
  border: none;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.98);
  font-family: 'BROmnyRegular', Verdana, sans-serif;
  font-size: 22px;
  color: #333;
  outline: none;
  transition: all 0.3s ease;
}

.form-input::placeholder {
  color: #666;
}

.form-input:focus {
  background: white;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.login-button {
  width: 100%;
  padding: 16px;
  background: linear-gradient(90deg, #223687, #e1007b);
  color: white;
  border: none;
  border-radius: 50px;
  font-family: 'BROmny-SemiBold', sans-serif;
  font-size: 22px;
  font-weight: 600;
  cursor: pointer;
  margin: 25px 0;
  transition: all 0.3s ease;
}

.login-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(233, 30, 99, 0.4);
}

.forgot-password, .forgot-password a {
  color: rgba(255, 255, 255, 0.8);
  font-family: 'BROmnyRegular';
  font-size: 15px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.forgot-password a:hover {
  color: #E91E63;
}

.motivation-text {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-top: 60px;
}

.accent-line {
  width: 8px;
  height: 60px;
  background: #E91E63;
  border-radius: 2px;
  margin-top: 5px;
}

.motivation-text p {
  color: white;
  font-family: 'BROmnyRegular', Verdana, sans-serif;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: 1.1px;
  font-weight: 400;
  font-style: italic;
}

.motivation-text strong {
  font-weight: 600;
}

.cookie-notice {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  text-align: left;
}

.right-section {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.background-icons {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.icon-circle {
  position: absolute;
  width: 70px;
  height: 70px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 6s ease-in-out infinite;
}

.icon-circle svg {
  width: 26px;
  height: 26px;
  color: rgba(255, 255, 255, 0.4);
}

.icon-1 {
  top: 10%;
  left: 20%;
  animation-delay: 0s;
}

.icon-2 {
  top: 25%;
  left: 60%;
  animation-delay: 1s;
}

.icon-3 {
  top: 45%;
  left: 10%;
  animation-delay: 2s;
}

.icon-4 {
  top: 15%;
  right: 15%;
  animation-delay: 3s;
}

.icon-5 {
  bottom: 30%;
  left: 25%;
  animation-delay: 4s;
}

.icon-6 {
  bottom: 15%;
  right: 30%;
  animation-delay: 5s;
}

.icon-7 {
  top: 60%;
  right: 10%;
  animation-delay: 1.5s;
}

.graduation-cap {
  position: absolute;
  top: 18%;
  right: 22%;
  width: 100px;
  height: 100px;
  border: 3px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 4s ease-in-out infinite;
}

.graduation-cap svg {
  width: 40px;
  height: 40px;
  color: rgba(255, 255, 255, 0.5);
}

.binary-code {
  position: absolute;
  bottom: 20%;
  right: 20%;
  color: rgba(255, 255, 255, 0.2);
  font-family: 'Courier New', monospace;
  font-size: 14px;
  animation: blink 2s infinite;
}

.student-image {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 95%;
  height: 100%;
  z-index: 2;
}

.student-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  border-radius: 15px 0 0 0;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.3;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.5;
  }
}

@keyframes blink {

  0%,
  50% {
    opacity: 0.2;
  }

  51%,
  100% {
    opacity: 0.6;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    max-width: 768px;
    margin: 0 auto;
  }

  .left-section {
    padding: 40px 30px;
    min-height: 60vh;
  }

  .welcome-title {
    font-size: 24px;
  }

  .logo-text {
    font-size: 36px;
  }

  .login-question {
    font-size: 20px;
  }

  .motivation-text p {
    font-size: 18px;
  }

  .right-section {
    min-height: 40vh;
  }

  .student-image {
    width: 80%;
    height: 60%;
  }

  .icon-circle {
    width: 60px;
    height: 60px;
  }

  .icon-circle svg {
    width: 20px;
    height: 20px;
  }

  .graduation-cap {
    width: 80px;
    height: 80px;
  }

  .graduation-cap svg {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 480px) {
  .left-section {
    padding: 30px 20px;
  }

  .welcome-title {
    font-size: 20px;
  }

  .logo-text {
    font-size: 28px;
  }

  .login-question {
    font-size: 18px;
  }

  .form-input {
    padding: 15px 15px 15px 45px;
    font-size: 14px;
  }

  .input-icon {
    left: 15px;
    width: 18px;
    height: 18px;
  }

  .login-button {
    padding: 15px;
    font-size: 16px;
  }

  .motivation-text p {
    font-size: 16px;
  }
}
