/*
 * The MIT License
 *
 * Copyright (c) 2010-2011, Manufacture Française des Pneumatiques Michelin,
 * Thomas Maurel, Romain Seguy
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */
 
.global-matrix-authorization-strategy-table {
  border-collapse: collapse;
  border-spacing: 0;
  #border: 1px solid #D3D7CF;
}

.global-matrix-authorization-strategy-table .caption-row TH span {
  writing-mode: vertical-rl;
  padding-top: 3px;
}

.global-matrix-authorization-strategy-table .caption-row {
  border-right: hidden;
}

.global-matrix-authorization-strategy-table .group-row TD {
  vertical-align: middle;
  text-align: center;
}

.global-matrix-authorization-strategy-table .group-row TD span {
  writing-mode: vertical-rl;
  padding-top: 3px;
}

.global-matrix-authorization-strategy-table TD.start {
  border: 0;
}

.global-matrix-authorization-strategy-table TD.stop {
  white-space: nowrap;
  text-align: left;
  border: 0;
}

label.attach-previous {
  margin-left: 0;
}

.global-matrix-authorization-strategy-table th, .global-matrix-authorization-strategy-table td {
  padding: 0px 3px;
  border: 1px solid #D3D7CF;
  vertical-align: middle;
}

.highlighted {
  background-color: #FFF9C9;
  color: var(--black);
}

.global-matrix-authorization-strategy-table TD.blank {
  vertical-align: middle;
  padding: 0.2em;
}

.global-matrix-authorization-strategy-table .caption-row TH {
  font-weight: lighter;
}

.global-matrix-authorization-strategy-table TD.left-most {
  text-align: left;
  white-space: nowrap;
}

.global-matrix-authorization-strategy-table div.pattern-cell {
  display: flex;
  justify-content: left;
  align-items: center;
}

.global-matrix-authorization-strategy-table div.pattern-cell svg {
  margin-right: 3px;
  cursor: pointer;
}

.global-matrix-authorization-strategy-table div.pattern-cell span {
  white-space: nowrap;
}

.jenkins-checkbox {
	vertical-align: middle;
	margin: 3px 0px;
}

@keyframes highlightentry {
  from { background: #C4C080; }
  to { background: transparent; }
}

.highlight-entry {
  -webkit-animation: highlightentry 5s;
  -moz-animation: highlightentry 5s;
  animation: highlightentry 5s;
}

.alert {
	margin-top: 10px;
}

.rsp-entry-not-found {
    text-decoration: line-through;
    color: grey;
}

.rsp-table__icon {
  vertical-align: initial!important;
}

.rsp-table__icon-alert {
  color: orange;
}

.rsp-table__cell {
  display: flex;
  align-items: center;
  gap: 3px;
}

.rsp-remove, .migrate {
  cursor: pointer;
  height: 16px;
}

.patternAnchor {
  cursor: pointer;
  color: var(--link-color);
  font-weight: var(--link-font-weight);
}

.patternAnchor:hover {
    text-decoration: var(--link-text-decoration--hover);
}

.row-filter, .user-filter, .role-filter {
  display: none;
  max-width: 500px;
}

.modal {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  min-width: 350px;
  padding: 1.3rem;
  min-height: 150px;
  max-height: 400px;
  position: fixed;
  z-index: 2000;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--background);
  border: 1px solid #ddd;
  border-radius: 15px;
}

.modal .flex {
  display: flex;
  align-items: center;
  justify-content: right;
}

#modalmessage {
  overflow-y: auto;
}

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  z-index: 1999;
}


.btn-close {
  transform: translate(10px, -10px);
  padding: 0.4rem 0.6rem;
  background: var(--btn-primary-bg);
  border-radius: 50%;
  color: var(--btn-text-color);
  cursor: pointer;
  border: none;
  font-weight: 600;
  font-family: sans-serif;
}