/*
 * 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.
 */

.data-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  
  .section-title {
    flex-grow: 0;
    font-family: Roboto;
    font-size: 20px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.4;
    letter-spacing: normal;
    text-align: left;
    color: #1b2329;
  }

  .node-select-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 16px 0px auto 0px;
    height: 11em;
  }
}

.data-breakdown-section {
  display: flex;
  gap: 16px;
  width: 100%;
  justify-content: space-between;
  align-items: stretch;

  > .ant-card {
    flex: 1 1 0;
    min-width: 0;
  }
}

.unused-space-breakdown {
  display: grid;
  grid-template-columns: 150px auto;
  grid-column-gap: 20px;
  grid-row-gap: 4px;

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

.capacity-info {
  width: 300px;
  white-space: normal;
  word-wrap: break-word;
  margin: 5px 0 0 1px;
  padding: 5px 0 0 1px;
}

.openkeys-space-breakdown {
  display: grid;
  grid-template-columns: 150px auto;
  grid-column-gap: 20px;
  grid-row-gap: 4px;

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

.dn-select-option-uuid {
  font-size: 14px;
  color: #5a656d;
  margin-left: 15px;
}

.capacity-detail-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 14px auto;
  color: #5a656d;
}

.capacity-detail-error-icon {
  color: #f47b2d;
  font-size: 24px;
}

.capacity-detail-error-message {
  font-size: 13px;
}
