
@media screen and (min-width: 1020px)
{
  body[class^='page-platform-request'] .workspace
  {
      width: calc(80vw - 1rem);
      margin: 0 auto;
  }
}

/* body.page-platform-login:not([scope="staff_only"]) *, */
/* body[class^="page-platform-request-form"] .aside[data-controller="menu"], */
body.page-platform .aside[data-controller="menu"] /* 404 error page */
{
  visibility: collapse;
  display: block;
  width: 0;
  min-width: 0;
  max-width: 1px;
  opacity: 0;
}

.scroll-to-top.show {
    opacity: .3;
    background: black;
    border-radius: 0.8ex;
    padding: 1.6ex;
}

.scroll-to-top.show svg {
  margin-bottom: 0.3em;
}

.user-select-none a{
  text-decoration: underline;
}

.text-muted a {
  opacity: .6;
}


.form-group [data-controller="select"],
.form-group [data-controller="input"]
{
  min-width: 17em;
}

body[class^="page-platform-request"] button.btn-link[type="submit"]
{
    align-items: center;
    color: white;
    background: black;
    text-decoration: none;
}

body[class^="page-platform-request"] .btn-dark,
body[class^="page-platform-request"] #btn-primary,
body[class^="page-platform-request"] [id^="submit-"]
{
  padding: 17px 43px;
  border-radius: 30px;
  font-family: var(--base-font-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
  white-space: nowrap;
  cursor: pointer;
  background: #1f2229;
  margin: 0 0 20px;
  text-align: center;
  min-width: 125px;
  border: 2px #1f2229 solid!important;
  transition: 0.2s cubic-bezier(0.4, 0, 0.6, 1);
  transition-property: color, background-color, border-color;
  text-align: center;
  outline: none;
}

body[class^="page-platform-request"] .btn-dark:hover,
body[class^="page-platform-request"] #btn-primary:hover,
body[class^="page-platform-request"] [id^="submit-"]:hover
{
  background: #626469;
  border-color: #626469;
  outline: 0;
}

body[class^="page-platform-request"] #btn-primary span,
.btn-dark span
{
  color: white;
}

#post-form .add_button
{
  border: unset;
  padding: 0.4rem;
  box-shadow: 0.1ex 0.1ex 0.1ex silver;
}

#post-form .add_button span
{
    display: inline-block;
    max-width: 22vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

#post-form label,
.modal-dialog .form-group label
{
  white-space: normal;
}

/* исключили появление дубля звездочки */
.form-group:has(.required) > label:not(:has(sup[class^="text-danger"])):after
  {
      content:" *";
      vertical-align: super;
      font-size: 80%;
      color: #dc3545;
  }

  .osmap-map {clip-path: inset(0px 0px 2em 0px);}

/* Hide old errors */
div:has([name="tenant_name"]:not(.is-invalid)) + .invalid-feedback
{
  display: none !important;
}

/* Login avatar */

.form-signin .avatar
{
  display: none;
}

.form-control[readonly]{
  background-color: #f8f9fa;
  color: #212529;
  border: 1px solid #ced4da;
  opacity: 1;
  cursor: not-allowed;
}


.card.bg-light {
  border-left: 3px solid #6c757d;
  margin-top: 10px;
}

.alert.alert-info, .alert.alert-warning {
  border-left: 3px solid;
}

.alert.alert-info {
  border-left-color: #17a2b8;
}

.alert.alert-warning {
  border-left-color: #ffc107;
}

@font-face {
  font-family: 'T2HalvarBreit';
  src: url('/fonts/T2HalvarBreit-ExtraBold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.bebas-font {
  font-family: 'T2HalvarBreit', sans-serif;
  letter-spacing: 1px;
}

.home-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.home-list-item {
  padding: 1rem 1.5rem;
  margin-bottom: 0.5rem;
  background-color: #f8fafc;
  border-left: 3px solid #0c0c0c;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.home-list-item:hover {
  background-color: #ebf4ff;
  transform: translateX(5px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.home-list-item:last-child {
  margin-bottom: 0;
}

.home-list-item i {
  font-size: 1.1rem;
}

.home-list-item a {
  text-decoration: none;
  transition: all 0.2s ease;
}

.home-list-item a:hover {
  color: #1d68a7 !important;
}

.has-placement {
    filter: hue-rotate(290deg);
}
