/* public/css/auth.css */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.auth-card {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    transition: transform 0.3s ease;
}

.auth-card:hover {
    transform: translateY(-5px);
}

.auth-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
}

.form-control {
    border-radius: 8px;
    border: 1px solid #ced4da;
    padding: 0.75rem 2.5rem 0.75rem 0.75rem; /* Ruang untuk ikon toggle */
    height: 2.5rem; /* Tinggi konsisten */
    line-height: 1.5; /* Penyelarasan vertikal */
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

.btn-primary, .btn-success {
    border-radius: 8px;
    padding: 0.75rem;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover, .btn-success:hover {
    transform: scale(1.05);
}

.alert {
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 0.9rem;
}

.text-center a {
    color: #020406;
    text-decoration: none;
    font-weight: 500;
}

.text-center a:hover {
    text-decoration: underline;
}

.password-toggle {
  position: absolute;
  right: 0.75rem;
  top: 70%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 1rem;
  color: #6c757d;
  line-height: 1;
}

.password-toggle:hover {
  color: #007bff;
}


/* Responsiveness */
@media (max-width: 576px) {
    .auth-card {
        padding: 1.5rem;
    }
    .password-toggle {
        right: 0.5rem;
        font-size: 0.9rem;
    }
}

body {
    font-family: 'Poppins', sans-serif;
}

/* === HERO SECTION === */
.hero-section {
    position: relative;
  }
  .overlay {
    backdrop-filter: blur(2px);
  }
  
  /* === TOMBOL UTAMA === */
    .btn-blue {
    background-color: #1e90ff; 
    color: #fff;
    padding: 0.45rem 0.80rem;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(30, 144, 255, 0.4);

  }
  .btn-blue:hover {
    background-color: #0d6efd; 
    transform: scale(1.05);
  }
    
  /* === UNDERLINE HIASAN === */
  .underline {
    width: 80px;
    height: 3px;
    background-color: #00bfa6;
    border-radius: 10px;
  }
  
  /* === SEARCH CONTAINER === */
  .search-container {
    margin-top: -3rem;
    border-radius: 25px;
    text-align: center;
  }
  
  .form-select {
    background-color: #fff;
    border: none;
    padding: 0.75rem 1rem;
    font-weight: 500;
    color: #333;
    box-shadow: 0 3px 8px rgba(9, 241, 230, 0.521);
  }
  .form-select:focus {
    box-shadow: 0 0 10px rgba(0,191,166,0.7);
    outline: none;
  }
  
  /* === RESPONSIVE DESIGN === */
  @media (max-width: 768px) {
    .hero-section h1 {
      font-size: 1.8rem;
    }
    .search-container {
      margin-top: -2rem !important;
      padding: 2rem;
    }
  }

/* ==== CHATBOT BUTTON ==== */
#chatbot-button {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: #0a0a14;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: 0.3s;
}
#chatbot-button:hover {
  transform: scale(1.1);
}

/* ==== CHAT WINDOW ==== */
#chatbot-window {
  width: 330px;
  height: 430px;
  background: white;
  border-radius: 12px;
  position: fixed;
  bottom: 100px;
  right: 25px;
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 9999;
}

/* HEADER */
#chat-header {
  background: #0a0a14;
  color: white;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* BODY */
#chat-body {
  padding: 12px;
  height: 300px;
  overflow-y: auto;
  background: #f5f5f5;
}

/* BUBBLE */
.chat-bubble {
  max-width: 80%;
  padding: 8px 12px;
  margin-bottom: 8px;
  border-radius: 12px;
}
.chat-user {
  background: #0a0a14;
  color: white;
  margin-left: auto;
}
.chat-bot {
  background: #e5e5e5;
  color: #000;
  margin-right: auto;
}

/* INPUT AREA */
#chat-input-area {
  display: flex;
  border-top: 1px solid #ddd;
}
#chat-input {
  width: 100%;
  border: none;
  padding: 10px;
}
#chat-send {
  background: #0a0a14;
  color: white;
  border: none;
  padding: 0 15px;
  cursor: pointer;
}
