/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You 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.
 */

.container {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #0098e1;

  .language-switch {
    position: absolute;
    top: 12px;
    right: 12px;
  }

  .login-model {
    width: 400px;
    min-height: 260px;
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 2px 25px 0 rgb(0 0 0 / 30%);

    .logo {
      display: flex;
      align-items: center;
      justify-content: center;
      padding-top: 30px;

      .logo-img {
        width: 280px;
        height: 60px;
        background: url('../../assets/images/logo-light.svg') 50% no-repeat;
        margin: 0 auto;
      }
    }

    .form-model {
      padding: 30px 20px;
    }

    .oauth2-provider {
      margin-top: 10px;
      margin-bottom: 30px;
    }
  }
}

.oidc-provider-link {
  text-decoration: none;
  width: 100%;
  display: block;
  margin-bottom: 12px;
}

.oidc-provider-btn {
  font-weight: 350 !important;
  color: #24292e !important;

  background-color: #f6f8fa;
  border-radius: 6px;
  height: 40px;

  transition: all 0.2s ease-in-out;

  &:hover {
    transform: translate(1px, -1px);
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.08);
  }
}

.oidc-btn-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.oidc-btn-icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  object-fit: contain;
}
