/* Container card */
.card {
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.input-group-text {
    border:none;
    font-size: 1.2rem;
    transition: background 0.3s, transform 0.2;
}

.input-group-text:hover {
    background: #0d6efd;
    transform: scale(1.1);
}

/* Input field */
.form-control {
  border: none;
  border-bottom: 2px solid #ccc;
  border-radius: 0;
  background: transparent;
  transition: border-color 0.3s, box-shadow 0.3s, box-color 0.3s;
}

.form-control:focus {
  border-color: #0d6efd; /* biru Bootstrap */
  box-shadow: 0 0 5px rgba(13,110,253,0.5);
}

/* Label animasi */
.form-label {
  position: absolute;
  left: 12px;
  top: 10px;
  color: #aaa;
  transition: 0.3s;
  pointer-events: none;
}

.mb-3 {
  position: relative;
}

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

.form-group input {
    width: 100%;
    padding: 10px;
    border: none;
    border-bottom: 2px solid #ccc;
    background: transparent;
    outline: none;
}

.form-group label {
    position: absolute;
    left: 10px;
    top: 10px;
    color: #aaa;
    transition: 0.3s ease;
    pointer-events: none;
}

/* Saat fokus atau ada isi */
.form-group input:focus + label,
.form-group input:valid + label {
    top: -10px;
    font-size: 12px;
    color: #0d6efd;
}

.form-control:focus + .form-label,
.form-control:valid + .form-label {
  top: -10px;
  font-size: 12px;
  color: #0d6efd;
}

/* Tombol login */
.btn-dark {
  transition: background 0.3s, transform 0.2s;
}

.btn-dark:hover {
  background: #212529;
  transform: scale(1.05);
}

.btn-secondary {
  transition: background 0.3s, transform 0.2s;
}

.btn-secondary:hover {
  background: #6c757d;
  transform: scale(1.05);
}

