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

html, body, button, input, select, textarea, .form-control {
  font-family: Poppins, "Segoe UI", sans-serif;
}

a {
  color: #1111bb;
}

/* Login */

body.task-login {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(116, 115, 253, 0.22), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(17, 17, 187, 0.12), transparent 55%),
    #f4f6fb;
}

body.task-login::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1111bb, #7473fd 60%, #f6b73c);
  z-index: 10;
}

.task-login #layout-content {
  background: transparent;
}

.task-login #logo {
  top: 12vh;
  width: 260px;
  max-width: 70vw;
  height: auto !important;
  max-height: none !important;
}

#login-form {
  top: 14vh;
  max-width: 360px;
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem 1.25rem 1.1rem;
  box-shadow: 0 18px 50px rgba(13, 19, 34, 0.14);
  box-sizing: border-box;
}

#login-form::before {
  content: "Webmail";
  display: block;
  margin: 0 0 1rem;
  color: #1111bb;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

#login-form .form-control,
#login-form .input-group-text {
  border-color: #d5dbe8;
}

#login-form .form-control:focus {
  border-color: #7473fd;
  box-shadow: 0 0 0 0.2rem rgba(17, 17, 187, 0.15);
}

#login-footer {
  color: #6b7385;
  font-size: 12px;
}

#login-footer > div {
  background: transparent;
}

@media screen and (max-width: 480px) {
  .task-login #logo {
    top: 6vh;
    width: 200px;
  }
  #login-form {
    top: 8vh;
    width: calc(100% - 2rem);
    padding: 1.25rem 1rem 1rem;
  }
}

/* Botones */

.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary.disabled,
.btn-primary:disabled,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.button.mainaction,
.button.mainaction:hover,
.button.mainaction:focus {
  background: linear-gradient(90deg, #1111bb 0%, #7473fd 100%) !important;
  border-color: #1111bb !important;
  color: #fff !important;
}

.btn-primary:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus {
  box-shadow: 0 0 0 0.2rem rgba(17, 17, 187, 0.28) !important;
}

#rcmloginsubmit {
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Aplicación */

@media screen and (min-width: 481px) {
  #layout-menu,
  #taskmenu .special-buttons {
    background-color: #0d1322 !important;
  }
  #taskmenu a.selected,
  #taskmenu a.selected:hover,
  #taskmenu a:hover,
  #taskmenu a:focus {
    background: #1111bb !important;
    color: #fff !important;
  }
  #taskmenu .action-buttons a,
  #taskmenu .action-buttons a:hover {
    color: #f6b73c !important;
  }
}

@media screen and (max-width: 480px) {
  #layout-menu .popover-header {
    background: #0d1322;
  }
  #taskmenu a.selected {
    color: #1111bb !important;
    background: #ecebff !important;
  }
  #taskmenu .action-buttons a {
    color: #1111bb !important;
  }
}

#messagelist tr.selected td,
.listing tr.selected td,
.listing li.selected {
  background-color: #ecebff !important;
}

.floating-action-buttons a.button {
  background: linear-gradient(135deg, #1111bb, #7473fd) !important;
  border-color: #1111bb !important;
}
