/* ===== AGAT CREDIT LOGIN PAGE ===== */

/* Фон страницы */
main.view {
  background: linear-gradient(135deg, #dce8f5 0%, #e8f0fa 50%, #d4e4f0 100%) !important;
  position: relative !important;
  overflow: hidden !important;
}

/* md-content прозрачный */
md-content.ng-cloak {
  background: transparent !important;
}

/* Убираем левую панель SOGo */
.sg-logo {
  display: none !important;
}

/* Правая панель прозрачная */
.sg-login {
  background: transparent !important;
}

/* Карточка входа */
#loginContent {
  background: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(48px) !important;
  -webkit-backdrop-filter: blur(48px) !important;
  border-radius: 40px !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 4px 68px 0 rgba(255,255,255,0.05) inset,
              0 4px 4px 0 rgba(255,255,255,0.15) inset,
              0 20px 60px rgba(0,0,0,0.08) !important;
  max-width: 460px !important;
  width: 100% !important;
  margin: auto !important;
  padding: 40px !important;
  position: relative !important;
  z-index: 1 !important;
}

/* Кнопка войти — широкая */
.md-button.md-fab.md-accent.md-hue-2[type="submit"] {
  background-color: #FF5A42 !important;
  border-radius: 50px !important;
  width: 100% !important;
  min-width: 200px !important;
  height: 48px !important;
  box-shadow: 0 4px 20px rgba(255, 90, 66, 0.4) !important;
  transform: none !important;
}

/* Поля ввода */
md-input-container .md-input {
  border-radius: 50px !important;
  padding: 8px 16px !important;
}

md-input-container:not(.md-input-invalid).md-input-focused .md-input {
  border-color: #FF5A42 !important;
}

md-input-container:not(.md-input-invalid).md-input-focused label,
md-input-container:not(.md-input-invalid).md-input-focused md-icon {
  color: #FF5A42 !important;
}

/* Запомнить меня */
md-switch .md-bar {
  background-color: rgba(0,0,0,0.2) !important;
}

md-switch.md-checked:not([disabled]) .md-bar {
  background-color: rgba(255, 90, 66, 0.5) !important;
}

md-switch.md-checked:not([disabled]) .md-thumb {
  background-color: #FF5A42 !important;
}

/* Логотип верхний правый */

/* Логотип нижний левый */

/* Убираем чёрный фон логотипа через blend mode */

/* Запомнить имя пользователя — видимый */
md-switch .md-label,
.md-switch-label {
  color: rgba(0,0,0,0.7) !important;
  display: inline !important;
  visibility: visible !important;
}

/* screen blend mode вместо multiply */

/* Логотип верхний правый */
.ag-logo-tr {
  position: fixed !important;
  top: -80px !important;
  right: -80px !important;
  width: 350px !important;
  height: 350px !important;
  opacity: 0.9 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  display: block !important;
}

/* Логотип нижний левый */
.ag-logo-bl {
  position: fixed !important;
  bottom: -80px !important;
  left: -80px !important;
  width: 350px !important;
  height: 350px !important;
  opacity: 0.9 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  display: block !important;
}

.ag-logo-tr, .ag-logo-bl {
}
