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

body {
  font-family: 'Arial', sans-serif;
  background-image: url('img/fakultas-teknik-universitas-hasanuddin background.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Header Styles */
.header {
  background-color: #F5F5F5;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 100;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-unhas {
  height: 60px;
  width: auto;
}

.logo-ikatek {
  height: 60px;
  width: auto;
}

.header-title {
  color: #C41E3A;
  font-size: 36px;
  font-weight: bold;
  margin: 0;
}

/* Main Content */
.main-content {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  min-height: calc(100vh - 90px);
}

.login-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Login Box */
.login-box {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  padding: 40px 50px;
  width: 100%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Logo */
.logo-main {
  width: 100px;
  height: auto;
  margin-bottom: 15px;
  object-fit: contain;
}

/* Title */
.login-box h2 {
  color: white;
  font-weight: bold;
  font-size: 24px;
  margin-bottom: 8px;
  letter-spacing: 1px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
  color: white;
  font-size: 14px;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Input Group */
.input-group {
  position: relative;
  margin-bottom: 18px;
}

.input-group input {
  width: 100%;
  padding: 14px 45px 14px 15px;
  border: none;
  border-radius: 12px;
  outline: none;
  font-size: 15px;
  background: white;
  font-family: 'Arial', sans-serif;
  box-sizing: border-box;
}

.input-group .icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 23px;
  height: 23px;
  cursor: pointer;
  opacity: 0.6;
  transition: 0.3s;
}

.input-group .icon:hover {
  opacity: 1;
}

.toggle-password.active {
  opacity: 1;
  
}

/* Buttons */
.btn {
  width: 100%;
  padding: 12px;
  margin-top: 15px;
  border: none;
  border-radius: 15px;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  color: white;
  transition: all 0.3s ease;
}

.btn.login {
  background-color: #8B1538;
}

.btn.login:hover {
  background-color: #A01B42;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.btn.daftar {
  background-color: #8B1538;
}

.btn.daftar:hover {
  background-color: #A01B42;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Bottom Logos */
.logos {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.logos img {
  width: 50px;
  height: auto;
  object-fit: contain;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }

  .header-left {
    flex-direction: column;
    text-align: center;
  }

  .header-title {
    font-size: 22px;
  }

  .logo-unhas,
  .logo-ikatek {
    height: 45px;
  }

  .login-box {
    padding: 30px 25px;
    max-width: 350px;
  }

  .logo-main {
    width: 80px;
  }
}

@media (max-width: 480px) {
  .login-box {
    padding: 25px 20px;
    max-width: 320px;
  }

  .logo-main {
    width: 70px;
  }

  .login-box h2 {
    font-size: 20px;
  }

  .btn {
    font-size: 14px;
    padding: 10px;
  }

  .input-group input {
    font-size: 14px;
    padding: 12px 40px 12px 12px;
  }

  .logos img {
    width: 40px;
  }
}
