body.dark .theme-text {
  color: white;
}

body.light .theme-text {
  color: black;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 250px;
  padding: 20px;
  background-color: #1c1c1e;
  transition: all 0.4s ease-in-out;
  overflow-x: hidden;
}

.sidebar:hover {
  background-color: #2c2c2e;
  padding-left: 30px;
}

.sidebar h2,
.sidebar p,
.sidebar a {
  transition: all 0.3s ease-in-out;
}

.sidebar a:hover {
  color: #1abc9c !important;
  transform: scale(1.05);
}

.homepage-container {
  background: linear-gradient(135deg, #2c3e50, #34495e);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  color: #ecf0f1;
  animation: fadeIn 1s ease-in-out;
  width: 1000px;
  margin: 0 auto;
  margin-top: 100px;
  margin-bottom: 10px;
}
.modal-content {
  border-radius: 20px;
  margin-left: 300px;
  margin-top: auto;
  margin-bottom: auto;
}

.statistics-container {
  background: linear-gradient(135deg, #2c3e50, #34495e);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  color: #ecf0f1;
  animation: fadeIn 1s ease-in-out;
  width: 1000px;
  margin: 0 auto;
  margin-top: 100px;
  margin-bottom: 10px;
}

/* Terjemahan */
.terjemahan-container {
  background: linear-gradient(135deg, #2c3e50, #34495e);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  color: #ecf0f1;
  animation: fadeIn 1s ease-in-out;
  width: 1000px;
  margin: 0 auto;
  margin-top: 100px;
  padding: 20px;
  margin-bottom: 10px;
}
.translate-button-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}
.translate-button-custom {
  border-radius: 10px;
  width: 100%;
}
.reset-translation:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

.reset-translation {
  border-radius: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.settings-container {
  background: linear-gradient(135deg, #2c3e50, #34495e);
  border-radius: 20px;
  padding: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  color: #ecf0f1;
  animation: fadeIn 1s ease-in-out;
  width: 1000px;
  margin: 0 auto;
  margin-top: 100px;
  margin-bottom: 800px;
  padding: 20px;
}
#save-theme {
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 20px;
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.card-title {
  font-weight: bold;
}

.login-card {
  background: linear-gradient(135deg, #2c3e50, #34495e);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  color: #ecf0f1;
  animation: fadeIn 1s ease-in-out;
  width: 1000px;
  margin: 100px auto 700px;
}

#google-login {
  background-color: #212830;
  color: #ffffff;
  padding-bottom: 12px;
  border-radius: 10px;
  transition: all 0.3s ease-in-out;
}
#google-login:hover {
  background-color: #11191fff;
  color: #ffffff;
}
#github-login {
  background-color: #212830;
  color: #ffffff;
  border-radius: 10px;
  transition: all 0.3s ease-in-out;
}

#github-login:hover {
  background-color: #11191fff;
  color: #ffffff;
}
.kontributor-card {
  background: linear-gradient(135deg, #2c3e50, #34495e);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  color: #ecf0f1;
  animation: fadeIn 1s ease-in-out;
  width: 1000px;
  margin: 100px auto 700px;
}

.kontributor-card h2 {
  font-weight: bold;
  color: #ffffff;
  letter-spacing: 1px;
}

.form-label {
  font-weight: 500;
  color: #ecf0f1;
}

.dash-dropdown .Select-control,
.form-control {
  border-radius: 12px !important;
  transition: 0.3s all ease-in-out;
  box-shadow: none;
}
#translate-btn {
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#reset-btn {
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#speak-btn {
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#pause-btn {
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dash-dropdown:focus,
.form-control:focus {
  box-shadow: 0 0 10px #3498db;
  border-color: #3498db !important;
}
#submit-contributor {
  background-color: #3498db;
  border-radius: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-weight: 600;
  margin-top: 20px;
}

#main-layout {
  background: linear-gradient(135deg, #2c3e50, #34495e);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  color: #ecf0f1;
  animation: fadeIn 1s ease-in-out;
  width: 1000px;
  margin: 100px auto;
}

#submit-contributor:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

#submission-status {
  transition: opacity 0.5s ease-in-out;
  font-weight: 500;
}
.login-card {
  background: linear-gradient(135deg, #1f1f2e, #2c3e50);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  color: #ecf0f1;
  animation: fadeIn 0.8s ease-in-out;
  width: 600px;
  margin-top: 100px;
  margin-bottom: 600px;
}

.login-card .form-label {
  color: #ecf0f1;
  font-weight: 500;
}

#login-button {
  background-color: #3498db;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
  margin-bottom: 20px;
}

#login-button:hover {
  background-color: #2980b9;
  transform: scale(1.02);
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

#login-email:focus,
#login-password:focus {
  border-color: #3498db !important;
  box-shadow: 0 0 10px #3498db !important;
}

/* assets/register.css */

/* Gaya untuk container form pendaftaran */
.register-container {
  background: linear-gradient(135deg, #1f1f2e, #2c3e50);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  color: #ecf0f1;
  animation: fadeIn 0.8s ease-in-out;
  width: 600px;
  margin-top: 100px;
  margin-bottom: 600px;
}

/* Judul halaman register */
.register-title {
  color: #2c3e50;
  font-weight: 600;
  text-align: center;
  margin-bottom: 30px;
}

/* Margin bawah input */
.input-spacing {
  margin-bottom: 1rem;
}

/* Button style */
.register-button {
  width: 100%;
  font-weight: bold;
}
#register-button {
  border-radius: 12px;
}

/* Style alert */
.register-alert {
  margin-top: 10px;
}

/* assets/logout.css */

/* Container utama logout */
.logout-card {
  background: linear-gradient(135deg, #1f1f2e, #2c3e50);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  color: #ecf0f1;
  animation: fadeIn 0.8s ease-in-out;
  width: 800px;
  margin-top: 200px;
  margin-bottom: 850px;
  margin-left: auto;
  margin-right: auto;
}

/* Judul logout */
.logout-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 30px;
}

/* Tombol logout dan batal */
.logout-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}
#confirm-logout-btn {
  background-color: #e74c3c;
  color: #ffffff;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
}
#confirm-logout-btn:hover {
  background-color: #be2f1cff;
}
#cancel-logout-btn {
  background-color: #47a7e7ff;
  color: #ffffff;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
}

#cancel-logout-btn:hover {
  background-color: #2996dfff;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
