html, body {
  height: 100%;
}
body {
  display: flex;
  flex-direction: column;
  background: #f5f5f5;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
}
main {
  flex: 1; /* dorong footer ke bawah */
}


/*SOAL ======================================================================================*/


.jawaban-link {
  text-decoration: none;
  color: inherit;
  padding: 4px;
  display: inline-block;
  border-radius: 10px;
  min-width: 20px;
  text-align: center;
}

.jawaban-link.selected {
  background-color: #28a745; /* hijau */
  color: #fff;
  font-weight: bold;
}



/*DASHBOARD =================================================================================*/

.profile-name {
  background-color: #31ce36;
  padding: 3px 15px 3px 15px;
  color: white;
  border-radius: 50px;
} 



/*LOGIN ==================================================================================== */

.registrasi-notification {
  display: inline-block;
  font-size: 11px;
  background-color: #fae588;
  margin-left: 10px;
  margin-right: 10px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-right: 20px;
  padding-left: 20px;
}

.login-error-notif {
  display: inline-block;
  font-size: 12px;
  color: white;
  background-color: #ff8fa3;
  margin-left: 10px;
  margin-right: 10px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-right: 20px;
  padding-left: 20px;
}

.login-success-notif {
  display: inline-block;
  font-size: 12px;
  color: white;
  background-color: lightseagreen;
  margin-left: 10px;
  margin-right: 10px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-right: 20px;
  padding-left: 20px;
}

.login-logo {
  width: 90px;
  height: 90px;
  border: 2px solid white;
  border-radius: 50%;
  background: linear-gradient(#69B1FF, #94C8FF);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.title-login {
  margin-top: 50px;
}

.title-login b {
  font-size: 18px;
  color: #3F9CFF;
}

.title-login span {
  font-size: 8px;
  color: grey;
}

#LoginPages-form-input input {
  height: 42px;
}

.form-group {
  position: relative;
  margin-bottom: 20px;
}

.place-custom {
  padding-left: 25px;
}

.place-custom::placeholder {
  position: absolute;
  color: lightgray;
  font-size: 14px;
  top: 12px;
  left: 25px;
}

.input-icon {
  position: absolute;
  right: 20px;
  top: 51%;
  right: 25px;
  transform: translateY(-50%);
  color: lightgray;
}

.btn-login {
  border-radius: 30px;
  background: linear-gradient(5deg, #94C8FF, #69B1FF);
  color: #fff;
  font-weight: bold;
  padding: 11px;
  margin-top: 50px;
  font-size: 13px;
  box-shadow: 3px 3px 5px rgba(0,0,0,0.1);
}

.btn-login:hover {
  background: linear-gradient(90deg, #69B1FF, #94C8FF);
  color: #fff;
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 30px 0 10px;
  color: lightgray;
  font-size: 8px;
}
.divider::before,
.divider::after {
  content: '';
  flex: 1;
}
.divider:not(:empty)::before {
  margin-right: .75em;
}
.divider:not(:empty)::after {
  margin-left: .75em;
}

.register-link {
  color: #3F9CFF;
  font-weight: bold;
  font-size: 12px;
  text-decoration: none;
}
.register-link:hover {
  color: #2472C6;
  text-decoration: none;
}

.login-error {
  background-color: #FFC8C8;
  color: #FC403A;
  padding: 3px 5px 3px 5px;
}

.login-success {
  background-color: #C4F0CF;
  color: #3DB170;
  padding: 3px 5px 3px 5px;
}

/* Select keseluruhan */
.custom-select {
  font-size: 14px;    
  color: #5C5E5D;        
  text-align: center; 
}

/* Option di dalam select */
.custom-select option {
  font-size: 14px;    
  color: #5C5E5D; 
  text-align: center;
}

.form-group label {
  font-weight: bold;
  color: #605E5E;
  font-size: 14px;
}

.form-control {
  font-size: 14px;
}

.place::placeholder {
  color: #9E9E9E;
  font-size: 14px;
}


/*HOME =========================================================================================*/

.header-home {
  background: linear-gradient(135deg, #007bff, #00c6ff);
  color: white;
  padding: 20px;
  height: 150px;
  text-align: left;
  overflow: hidden;
}

.header-home::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -50px;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}

.profile-card {
  margin-top: -40px;
  background: white;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 2px 1px 10px rgba(0,0,0,0.1);
  text-align: center;
}
.profile-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-top: -50px;
  border: 4px solid white;
}

.menu-icons {
  margin-top: 20px;
}
.menu-icons .col {
  text-align: center;
}
.img-menu-wrapper {
  background: white;
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  margin: 0 auto 10px auto;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}
.img-menu-wrapper img {
  width: 40px;
  height: 40px;
}

.tryout-card {
  border-radius: 10px;
  padding: 10px 15px 13px 15px;
  margin-bottom: 15px;
  background: white;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  border-left: 4px solid #3f9cff;
}

/*PEMILIHAN MAPEL ==============================================================================*/

.list-mapel-wajib {
  display: inline-block;
  background-color: #FFF0CC;
  color: #EBAE1C;
  border: 1.5px solid #FFDF91;
  padding: 3px 15px 3px 15px;
  border-radius: 50px;
  margin: 5px 2.5px 5px 2.5px;
  font-size: 12px;
} 

/*FOOTER =======================================================================================*/

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: white;
  border-top: 1px solid #ddd;
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
}
.bottom-nav a {
  text-decoration: none;
  color: #6c757d;
  text-align: center;
  font-size: 10px;
}
.bottom-nav i {
  display: block;
  font-size: 18px;
  margin-bottom: 2px;
}
.bottom-nav .active {
  color: #007bff;
}

/*MATA PELAJARAN ==========================================================================*/

.header-mapel {
  background: linear-gradient(135deg, #007bff, #00c6ff);
  color: white;
  padding: 20px;
  height: 80px;
  text-align: left;
  overflow: hidden;
}

.header-mapel::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -50px;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}


/*SOAL TEST*/
.timer {
  background-color: white;
  padding: 3px;
  width: 150px;
  border-radius: 40px;
  border: 1px solid #D1D6EC;
  font-size: 12px;
}


/*NOMOR SOAL*/

.card-soal {
  background: #fff;
  padding: 20px 10px 20px 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: center;
}
.nomor-soal-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}
.soal-item {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 2px solid #bbb;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: 0.2s;
  text-decoration: none; /* untuk <a> */
  color: inherit;
  background: white;     /* default bg */
}

.soal-item:hover {
  background: #f1f1f1;
  text-decoration: none;
  border: 2px solid #bbb;
}

.soal-active {
  background: #2B91FD;  /* ungu */
  color: white;
  border-color: #2B91FD;
}

.soal-terjawab {
  background: #4ade80;  /* hijau */
  color: white;
  border-color: #4ade80;
}

.soal-item:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.3);
}

/*CUSTOM STYLE ==================================================================================*/

.dis-none {
  display: none;
}

/*border*/
.border-none {
  border: none;
}

.bradius-20 {
  border-radius: 20px;
}

.bradius-10 {
  border-radius: 10px;
}

.border-lightpurple-1 {
  border: 2px solid #D1D6EC;
} 

/*font size*/

.fs-18 {
  font-size: 18px;
}

.fs-14 {
  font-size: 14px;
}

.fs-12 {
  font-size: 12px;
}

.fs-10 {
  font-size: 10px;
}

.fs-8 {
  font-size: 8px;
}

.fs-6 {
  font-size: 6px;
}

/*shadow*/

.shadow-1 {
  box-shadow: 5px 5px 15px rgba(0,0,0,0.1);
}

/*button*/
.btn-success {
  color: #fff;
  background-color: #31ce36;
  border-color: #31ce36;
}

.btn-success:hover {
  color: #fff;
  background-color: #4AF58C;
  border-color: #4AF58C;
}

.btn-danger {
  color: #fff;
  background-color: #F45B55;
  border-color: #F45B55;
}

.btn-danger:hover {
  color: #fff;
  background-color: #F44C45;
  border-color: #F44C45;
}

.btn-blue {
  color: #fff;
  background-color: #3F9CFF;
  box-shadow: 5px 5px 15px rgba(0,0,0,0.1);
}

.btn-blue:hover {
  color: #fff;
  background-color: #2788F0;
}

.btn-info {
  color: #fff;
  background-color: #66D8E7;
  border-color: #66D8E7;
}

.btn-info:hover {
  color: #fff;
  background-color: #4DCDDE;
  border-color: #4DCDDE;
}

.btn-warning {
  color: #fff;
  background-color: #FFD56D;
  border-color: #FFD56D;
}

.btn-warning:hover {
  color: #fff;
  background-color: #F7C958;
  border-color: #F7C958;
}


/*text color*/

.text-blue {
  color: #3F9CFF;
}

.text-abu {
  color: grey;
}

.text-purple {
  color: #5A5CAC;
}

.text-navy {
  color: #30417A;
}
