/*
 * Copyright 2016 Red Hat, Inc. and/or its affiliates
 * and other contributors as indicated by the @author tags.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

.login-pf {
  background: #07182b;
}

.login-pf header h1 {
  font-size: 34px;
  text-align: center;
  font-weight: bold;
}

.login-pf body {
  background-color: #09182bbf;
  background-image: url("../img/dots_background.svg");
  background-repeat: repeat-x;
  background-position: top;
  color: #fff;
  font-family: var(--inter-font);
  font-size: 16px;
  text-shadow: none;
}

h1 {
  font-size: 24px;
}

.form-group {
  margin-bottom: 0;
}

.alert {
  padding: 5px;
  margin-bottom: 15px;
}

.alert-error {
  width: 100%;
  display: flex;
  justify-content: center;
}

a {
  background-color: transparent;
  color: #009568;

  font-weight: bold;
  text-decoration: underline;

  margin-top: 20px;
}

.renku-login-container {
  padding: 1.5rem;
  background-color: #09182bbf;
  display: flex;
  flex-flow: column;
  align-items: center;
}

@media only screen and (min-width: 768px) {
  .renku-login-container {
    padding: 10px 85px;
  }
}

.renku-login-card {
  position: relative;
  top: 30px;
  padding-bottom: 20px;
}

#kc-content {
  width: auto;
}

#kc-content-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 50px;
  flex-direction: row-reverse;
}

div#kc-social-providers h4 {
  font-size: 16px;
  font-weight: bold;
  margin: 10px 0px 5px 5px;
}

#kc-form {
  margin-bottom: 20px;
}

#kc-form-login {
  width: 300px;
  margin: auto;
}

#kc-form label {
  display: block;
  font-weight: normal;
}

#kc-form-buttons {
  text-align: left;
}

#kc-info {
  width: 100%;
  margin-bottom: 20px;
  text-align: center;
}

#kc-page-title {
  margin-top: 0;
  margin-bottom: 40px;
}

input[type="text"],
input[type="password"] {
  color: #3d3d3d;
  margin-bottom: 20px;
  background-color: #fff;
  border: 0px solid rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  box-shadow: none;
  padding: 10px;
  width: 300px;
}

input[type="text"]:hover,
input[type="password"]:hover {
  background-color: #f5f5f5;
}

input[type="submit"] {
  font-family: var(--inter-font);

  background-color: #07182b;
  color: #009568;
  border: 1px solid #009568;
  border-radius: 1000px;

  font-weight: bold;

  padding: 10px;
  margin-top: 10px;
  width: 300px;
}

input[type="submit"]:hover {
  background: #007a6c;
  color: #ffffff;
}

button[type="submit"] {
  font-family: var(--inter-font);

  background-color: #07182b;
  color: #009568;
  border: 1px solid #009568;
  border-radius: 1000px;

  font-weight: bold;

  padding: 10px;
  margin-top: 20px;
  margin-right: 10px;
  width: 150px;
}

button[type="submit"]:hover {
  background: #009568;
  color: #ffffff;
}

div#kc-form-options div {
  display: inline-block;
  margin-right: 20px;
}

div#kc-feedback {
  box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
}

div#kc-feedback-wrapper {
  padding: 1em;
}

div.feedback-success {
  background-color: rgba(155, 155, 255, 0.1);
}

div.feedback-warning {
  background-color: rgba(255, 175, 0, 0.1);
}

div.feedback-error {
  background-color: rgba(255, 0, 0, 0.1);
}

span#input-error {
  color: hsl(342, 89%, 45%);
  display: block;
  font-weight: bold;
  margin-top: -15px;
}

span.pf-m-error.required {
  color: hsl(342, 89%, 45%);
  display: block;
  font-weight: bold;
  margin-top: -15px;
}

div#kc-header {
  background-image: url("../img/logo.svg");
  background-size: cover;
  background-repeat: no-repeat;
  width: 200px;
  height: 80px;
  margin-top: 200px;
}

div#kc-header-wrapper {
  display: none;
}

#kc-register-form {
  margin-bottom: 20px;
  width: 300px;
}

#kc-update-profile-form {
  margin-bottom: 20px;
  width: 300px;
}

#kc-reset-password-form {
  margin-bottom: 20px;
  width: 300px;
}

.kc-social-item {
  text-align: center;
}

.kc-social-links {
  font-size: 14px;
}

div#social-login {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  float: right;
  width: 150px;
  padding: 20px 0 200px 40px;
}

div.social-login span {
  display: none;
}

div#kc-social-providers {
  background-color: rgba(7, 24, 43, 0.3);
  margin-bottom: 20px;
}

div#kc-social-providers hr {
  display: none;
}

div#kc-social-providers ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

div#kc-social-providers ul a {
  display: list-item;
  padding-left: 20px;
  margin-bottom: 20px;
  width: 300px;
}

div#kc-social-providers a {
  font-family: var(--inter-font);
  text-decoration: none;

  box-shadow: none;
  text-shadow: none;

  background: none;
  background-color: #07182b;
  color: #009568;
  border: 1px solid #009568;
  border-radius: 1000px;

  font-weight: bold;

  margin: 0px;
  padding: 10px;
}

div#kc-social-providers a:hover {
  background: #007a6c;
  color: #ffffff;
}

div#kc-social-providers a:active {
  background: #009568;
  color: #ffffff;
}

.login-section-title-providers {
  margin-bottom: 40px;
}
.login-section-title-form {
  margin-bottom: 35px;
}

#login-separator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 50px;
}

#login-separator .separator {
  width: 1px;
  height: 110px;
  background-color: #ffffff7d;
}

div#renku-login-terms-container {
  display: flex;
  font-size: 12px;
  font-weight: normal;
  margin-top: 20px;
  justify-content: center;
}

div#renku-login-terms-text {
  max-width: 600px;
  font-size: 16px;
  background-color: rgb(209, 236, 241);
  border-color: #a2dae3;
  border-width: 1px;
  border-radius: 5px;
  color: rgb(9, 65, 74);
  padding: 16px;
  line-height: 24px;
  column-gap: 20px;
  display: flex;
  text-align: justify;
}

@media only screen and (max-width: 1080px) {
  #kc-content-wrapper {
    align-items: center;
    flex-direction: column-reverse;
  }
  #login-separator {
    flex-direction: row;
    margin: 20px;
  }
  #login-separator .separator {
    width: 100px;
    height: 1px;
  }
  div#kc-social-providers ul {
    margin-bottom: 0;
    gap: 40px;
  }
  div#kc-social-providers ul a {
    margin: 0;
  }
  div#renku-login-terms-icon {
    display: none;
  }
}
