// Copyright 2024 The Nomulus Authors. All Rights Reserved.
//
// 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.
@use "@angular/material" as mat;
@use "app/registrar/registrarSelector.component.scss";

html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: "Google Sans", Roboto, Helvetica, Arial, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;
}

.text-center {
  text-align: center;
}

.console-app {
  .mat-headline-4 {
    margin-top: 6px !important;
    margin-bottom: 24px !important;
  }
  .spacer {
    flex: 1;
  }
  h1 {
    margin-bottom: 24px !important;
  }
  a {
    text-decoration: none;
    color: #1a73e8;
  }
  mat-list-item {
    height: auto !important;
    min-height: 48px;
    padding: 10px 0;
    --list-item-title-width: 140px;
    h2 {
      margin: 13px 0;
    }
    .console-app__list-key {
      font-weight: bold;
      width: var(--list-item-title-width);
      display: inline-block;
      font-size: 0.85rem;
      white-space: pre-line;
      color: #202124;
      flex-shrink: 0;
    }
    .console-app__list-value {
      font-size: 0.85rem;
      white-space: pre-line;
      word-break: break-word;
      color: var(--text);
    }
  }
  .mat-mdc-list-item-unscoped-content {
    display: flex;
  }

  &__scrollable {
    overflow-x: auto;
    &-wrapper {
      overflow-x: hidden;
    }
  }
}
