/* begin license *
 *
 * "SWL"(Seecr Web Lib) makes developing webbased apps easier
 *
 * Copyright (C) 2024 Seecr (Seek You Too B.V.) https://seecr.nl
 *
 * This file is part of "Seecr Web Lib"
 *
 * "Seecr Web Lib" is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * "Seecr Web Lib" is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with "Seecr Web Lib"; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 *
 * end license */

:root {
    --seecr-orange: #FAA21B;
    --seecr-grey: #5F6062;
}

html.swl-wait, html.swl-wait * { cursor: wait !important; }

.bg-seecr {
    background-color: var(--seecr-grey);
    color: white;
}

.bg-seecr a {
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.swl-close, .seecr-orange {
    color: var(--seecr-orange);
}

.swl-button, .swl-button-plain {
    border: 0;
    background: transparent;
}

.swl-button:hover {
    transform: scale(1.25);
}

.fit {
    white-space: nowrap;
    width: 1%;
}

.fit form, .fit form button {
    padding: 0;
    margin: 0;
    background: transparent;
}


.swl-dialog {
  display: none;
  z-index: 2048 !important;

  > div {
    &:first-of-type {
      position: fixed;
      width: 100%;
      height: 100%;
      background: rgba(64, 64, 64, .9);
      top: 0px;
      left: 0px;
    }

    &:last-of-type {
      background: white;
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      border-radius: var(--bs-border-radius);
      border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);
    }
  }

  .swl-dialog-header {
      border-bottom: 1px solid var(--bs-border-color);

      > h5 {
          padding: 0.5em 0.5em 0.25em 0.5em;
      }
  }

    .swl-dialog-body {
      padding: 0.25em 0.5em 0.5em 0.5em;
    }
}

