@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background: url(../images/034191-L.jpg) no-repeat center center fixed;
  background-size: cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

body::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.login-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: all 0.3s ease;
}

.login-wrapper:hover {
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.5);
}

.login-logo {
  text-align: center;
  margin-bottom: 30px;
}

.login-logo img {
  max-width: 180px;
  height: auto;
  filter: drop-shadow(0px 4px 6px rgba(0,0,0,0.3));
}

.form-group label {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
  display: block;
}

.form-control {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
  border-radius: 8px !important;
  padding: 12px 15px !important;
  height: auto !important;
  font-size: 15px;
  transition: all 0.3s ease;
}

.form-control:focus {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1) !important;
  outline: none;
}

.slide-submit,
.slide-submit.slide-success {
  border-radius: 50px !important;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  height: 50px !important;
  padding: 0 !important;
  margin-top: 25px !important;
  margin-bottom: 25px !important;
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.2) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.slide-submit-text {
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  color: rgba(255, 255, 255, 0.7) !important;
}

.slide-submit-thumb {
  background: linear-gradient(135deg, #ffb700, #e27f00) !important;
  border: none !important;
  border-radius: 50px !important;
  color: #fff !important;
  font-size: 20px !important;
  box-shadow: 0 4px 15px rgba(226, 127, 0, 0.4) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.btn-custom {
  background: linear-gradient(135deg, #ffb700, #e27f00);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  padding: 12px 20px;
  width: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(226, 127, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-custom:hover {
  background: linear-gradient(135deg, #ffc933, #ff9000);
  box-shadow: 0 6px 20px rgba(226, 127, 0, 0.5);
  transform: translateY(-2px);
  color: #fff;
}

.btn-custom.disabled, .btn-custom[disabled], fieldset[disabled] .btn-custom {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.nav-pills {
  margin-top: 20px;
  text-align: center;
}

.nav-pills > li {
  float: none;
  display: inline-block;
}

.nav-pills > li > a {
  background: transparent !important;
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 14px;
  transition: all 0.3s ease;
  padding: 10px 20px;
  border-radius: 50px;
}

.nav-pills > li > a:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

.nav-pills h1 {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
}

.log-in i {
  margin-right: 5px;
}

.alert {
  border-radius: 8px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  border: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.alert-info {
  background: rgba(217, 237, 247, 0.9);
  color: #31708f;
}

/* Fix tabs transition */
.tab-content > .tab-pane {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tab-content > .active {
  display: block;
  opacity: 1;
}

/* Custom Checkbox */
.checkbox label {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
}

/* Selector de Idiomas Moderno */
.lang-selector {
  position: absolute;
  top: 15px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.lang-selector:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.lang-btn {
  color: rgba(255, 255, 255, 0.5) !important;
  text-decoration: none !important;
  transition: all 0.2s ease;
  padding: 2px 4px;
}

.lang-btn:hover {
  color: rgba(255, 255, 255, 0.9) !important;
}

.lang-btn.active {
  color: #ffb700 !important;
  text-shadow: 0 0 8px rgba(255, 183, 0, 0.4);
}

.lang-divider {
  color: rgba(255, 255, 255, 0.2);
  user-select: none;
}
