/**
 * Copyright © 2016-2022 The Thingsboard Authors
 *
 * 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.
 */
@import '../../../../../scss/constants';

:host {
  display: flex;
  flex: 1 1 0;
  .tb-login-content {
    margin-top: 36px;
    margin-bottom: 76px;
    background-color: #eee;
    .tb-login-form {
      @media #{$mat-gt-xs} {
        width: 550px !important;
      }

      .forgot-password {
        padding: 0 0.5em 1em;
        .tb-reset-password {
          padding: 0 6px;
        }
      }

      .tb-action-button{
        padding: 20px 0 16px;
      }
    }

    .oauth-container{
      padding: 0;

      .container-divider {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: 100%;

        .line {
          flex: 1;
        }

        .mat-divider-horizontal{
          position: relative;
        }

        .text {
          padding-right: 10px;
          padding-left: 10px;
        }
      }

      .material-icons{
        width: 20px;
        min-width: 20px;
      }

      a.login-with-button {
        color: rgba(black, 0.87);

        &:hover {
          border-bottom: 0;
        }

        .icon{
          height: 20px;
          width: 20px;
          vertical-align: sub;
        }
      }

      .centered ::ng-deep .mat-button-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
      }
    }
  }
}

