// This file is part of Indico.
// Copyright (C) 2002 - 2026 CERN
//
// Indico is free software; you can redistribute it and/or
// modify it under the terms of the MIT License; see the
// LICENSE file for more details.

@use 'rb:styles/palette' as *;
@use 'rb:styles/responsive' as *;

:global(.ui.icon.message).message-icon :global(.icon) {
  font-size: 2em;
}

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

.log-list {
  max-height: 140px;
  overflow: auto;
}

.log-date {
  color: $gray;
}

.booking-logs,
.concurrent-reservations {
  margin-top: 20px;
}

:global(.ui.modal .header).booking-modal-header {
  display: flex;
  align-items: center;

  .header-text {
    flex: 1;

    @media (max-width: $tablet-width) {
      flex: 3;
    }
  }

  .booking-status {
    display: flex;
    flex: 4;

    @media (max-width: $tablet-width) {
      flex: 2;
    }
  }
}

.rejection-form {
  width: 350px;
}

.accept-with-message {
  border-left: 1px solid darken($green, 5%) !important;
}

.concurrent-reservations-list {
  max-height: 150px;
  overflow: auto;
  min-height: 20px;
}
