/**
 * Copyright © 2016-2026 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 '../../src/scss/constants';

:host {
  display: grid;
  width: 700px;
  height: 100%;
  max-width: 100%;
  max-height: 100vh;
  grid-template-rows: min-content 4px minmax(auto, 1fr) min-content;

  .mat-mdc-dialog-content {
    grid-row: 3;
  }
  .mat-mdc-dialog-actions {
    grid-row: 4;
  }
  .api-key-text {
    position: relative;
    padding: 8px 16px 8px 16px;
    &::before {
      content: '';
      position: absolute;
      inset: 0;
      background-color: $tb-primary-color;
      border-radius: 6px;
      opacity: 0.04;
    }

    span {
      font-size: 12px;
      color: rgba(0, 0, 0, 0.54);
    }
  }
}
