body {
  font-family: "Roboto", sans-serif;
  background: linear-gradient(to right, #f8f9fa 0%, #f8f9fa 30%, #f1f3f4 45%, #eef0f1 50%, #f5f6f7 55%, #fafbfc 70%, #ffffff 100%);
  min-height: 100vh; }

p {
  color: #b3b3b3;
  font-weight: 300; }

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: "Roboto", sans-serif; }

a {
  -webkit-transition: .3s all ease;
  -o-transition: .3s all ease;
  transition: .3s all ease; }
  a:hover {
    text-decoration: none !important; }

.content {
  padding: 7rem 0; }

h2 {
  font-size: 20px; }

@media (max-width: 991.98px) {
  .content .bg {
    height: 500px; } }

.content .contents, .content .bg {
  width: 50%; }
  @media (max-width: 1199.98px) {
    .content .contents, .content .bg {
      width: 100%; } }
  
  .content .contents .form-group, .content .bg .form-group {
    overflow: hidden;
    margin-bottom: 0;
    padding: 15px 15px;
    border-bottom: none;
    position: relative;
    background: #edf2f5;
    border-bottom: 1px solid #e6edf1; }
    
    .content .contents .form-group label, .content .bg .form-group label {
      position: absolute;
      top: 50%;
      left: 15px;
      -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
      transform: translateY(-50%);
      -webkit-transition: .3s all ease;
      -o-transition: .3s all ease;
      transition: .3s all ease;
      font-size: 12px;
      display: block;
      margin-bottom: 0;
      color: #b3b3b3;
      pointer-events: none; }
      
    .content .contents .form-group input, .content .bg .form-group input {
      background: transparent;
      border: none;
      padding: 0;
      font-size: 20px;
      border-radius: 0;
      width: 100%;
      position: relative; }
      
    .content .contents .form-group.first, .content .bg .form-group.first {
      border-top-left-radius: 7px;
      border-top-right-radius: 7px; }
      
    .content .contents .form-group.last, .content .bg .form-group.last {
      border-bottom-left-radius: 7px;
      border-bottom-right-radius: 7px; }
      
    /* When focused */
    .content .contents .form-group.focus, .content .bg .form-group.focus {
      background: #fff; }
      
    /* When has content or focused - move label up */
    .content .contents .form-group.focus label, 
    .content .bg .form-group.focus label,
    .content .contents .form-group.field--not-empty label, 
    .content .bg .form-group.field--not-empty label {
      margin-top: -20px; }

  .content .contents .form-control, .content .bg .form-control {
    border: none;
    padding: 0;
    font-size: 20px;
    border-radius: 0;
    background: transparent; }
    .content .contents .form-control:active, .content .contents .form-control:focus, .content .bg .form-control:active, .content .bg .form-control:focus {
      outline: none;
      -webkit-box-shadow: none;
      box-shadow: none; }

.content .bg {
  background-size: cover;
  background-position: center; }

.content a {
  color: #888;
  text-decoration: underline; }

.content .btn {
  height: 54px;
  padding-left: 30px;
  padding-right: 30px; }

/* Estilo del botón de login con color del eslogan */
.btn-primary,
input[type="submit"].btn-primary,
input[type="submit"] {
  background: linear-gradient(135deg, #20b2aa 0%, #1a9999 100%);
  border: none;
  color: white;
  font-weight: 600;
  font-size: 16px;
  text-transform: none;
  letter-spacing: 0.5px;
  border-radius: 8px;
  padding: 14px 30px;
  width: 100%;
  height: 54px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(32, 178, 170, 0.3);
  cursor: pointer;
}

.btn-primary:hover,
input[type="submit"].btn-primary:hover,
input[type="submit"]:hover {
  background: linear-gradient(135deg, #1a9999 0%, #178888 100%);
  box-shadow: 0 6px 20px rgba(32, 178, 170, 0.4);
  transform: translateY(-2px);
}

.btn-primary:active,
input[type="submit"].btn-primary:active,
input[type="submit"]:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(32, 178, 170, 0.3);
}

.content .forgot-pass {
  position: relative;
  top: 2px;
  font-size: 14px; }

.social-login a {
  text-decoration: none;
  position: relative;
  text-align: center;
  color: #fff;
  margin-bottom: 10px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: inline-block; }
  .social-login a span {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%); }
  .social-login a:hover {
    color: #fff; }
  .social-login a.facebook {
    background: #3b5998; }
    .social-login a.facebook:hover {
      background: #344e86; }
  .social-login a.twitter {
    background: #1da1f2; }
    .social-login a.twitter:hover {
      background: #0d95e8; }
  .social-login a.google {
    background: #ea4335; }
    .social-login a.google:hover {
      background: #e82e1e; }

.control {
  display: block;
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  cursor: pointer;
  font-size: 14px; }
  .control .caption {
    position: relative;
    top: .2rem;
    color: #888; }

.control input {
  position: absolute;
  z-index: -1;
  opacity: 0; }

.control__indicator {
  position: absolute;
  top: 2px;
  left: 0;
  height: 20px;
  width: 20px;
  background: #e6e6e6;
  border-radius: 4px; }

.control--radio .control__indicator {
  border-radius: 50%; }

.control:hover input ~ .control__indicator,
.control input:focus ~ .control__indicator {
  background: #ccc; }

.control input:checked ~ .control__indicator {
  background: #20b2aa; }

.control:hover input:not([disabled]):checked ~ .control__indicator,
.control input:checked:focus ~ .control__indicator {
  background: #1a9999; }

.control input:disabled ~ .control__indicator {
  background: #e6e6e6;
  opacity: 0.9;
  pointer-events: none; }

.control__indicator:after {
  content: '✓';
  position: absolute;
  display: none;
  font-size: 16px;
  -webkit-transition: .3s all ease;
  -o-transition: .3s all ease;
  transition: .3s all ease; }

.control input:checked ~ .control__indicator:after {
  display: block;
  color: #fff; }

.control--checkbox .control__indicator:after {
  top: 50%;
  left: 50%;
  margin-top: -1px;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%); }

.control--checkbox input:disabled ~ .control__indicator:after {
  border-color: #7b7b7b; }

.control--checkbox input:disabled:checked ~ .control__indicator {
  background-color: #20b2aa;
  opacity: .2; }

/* Fix for autocomplete fields */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px #edf2f5 inset !important;
  -webkit-text-fill-color: #333 !important;
}

input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 30px #fff inset !important;
}

/* MarulaSys custom additions */
.marula-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.alert {
  margin-bottom: 20px;
  padding: 12px 16px;
  border-radius: 4px;
  border: none;
  font-size: 14px;
  position: relative;
  border-left: 4px solid;
}

.alert-danger {
  background-color: #fef2f2;
  border-left-color: #ef4444;
  color: #991b1b;
}

.alert-success {
  background-color: #f0fdf4;
  border-left-color: #22c55e;
  color: #166534;
}

.floating-alert {
  animation: fadeInDown 0.3s ease-out;
  z-index: 1000;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.alert ul {
  margin: 0;
  padding-left: 16px;
  list-style: none;
}

.alert li {
  margin-bottom: 4px;
  position: relative;
}

.alert li::before {
  content: "•";
  color: inherit;
  margin-right: 8px;
}

.btn-close {
  background: none;
  border: none;
  color: #6b7280;
  opacity: 0.6;
  font-size: 18px;
  font-weight: normal;
  position: absolute;
  top: 8px;
  right: 12px;
  cursor: pointer;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-close:hover {
  opacity: 1;
  color: #374151;
}

.btn-close::before {
  content: "×";
}

/* Estilos del logo MarulaSys */
.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}

.marula-logo {
  max-height: 60px;
  width: auto;
  filter: brightness(1.1) contrast(1.1);
}

.logo-text-container {
  text-align: left;
}

.logo-text {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 28px;
  color: #666;
  margin: 0;
  letter-spacing: 1px;
  line-height: 1.2;
}

.logo-slogan {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 11px;
  color: #20b2aa;
  margin: 2px 0 0 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  line-height: 1;
}

@media (max-width: 768px) {
  .logo-container {
    flex-direction: column;
    gap: 10px;
  }
  
  .logo-text-container {
    text-align: center;
  }
  
  .marula-logo {
    max-height: 50px;
  }
  
  .logo-text {
    font-size: 24px;
  }
  
  .logo-slogan {
    font-size: 10px;
    letter-spacing: 1px;
  }
}