﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #4e73df;
    border-color: #4e73df
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #4e73df
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}
.img-card {
    width: 10em;
    margin: auto;
    transition: 1s; /* Час ефекту */
}

.img-card:hover {
    transform: scale(1.6); /* Збільшення масштабу */
}
/* emoji style
------------------------------------------------------*/
.emoji {
  width: 20px;
  height: 20px;
  overflow: hidden;
  zoom: 1;
  cursor: pointer;
  background-image: url("/img/icons.svg");
  background-position: -486px 0px;
  opacity: 0.6;
  margin-top: 2px;
  background-color: rgb(239, 239, 239);
  border: 1px solid rgb(239, 239, 239);
}
.selected .emoji:hover {
    background-color: rgb(221, 221, 221);
    border: 1px solid rgb(102, 102, 102);
}

.spoiler, .spoiler2 a {
  color: black;
  background-color: black;
}
.spoiler:hover, .spoiler:hover a {
  background-color: white;
}
.card-shadow {
   box-shadow: 0 .15rem 1.75rem 0 rgba(58,59,69,.15) !important;
}

.nicEdit-selected {
    outline-color: #bac8f3;
}

label.er-hover-bkg:hover {
    filter: brightness(95%);
}

/*chart*/
#doughnut {
    width:70vh;
}

.truncate-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.staging-environment-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-left: 0.75rem;
    padding: 0.45rem 0.9rem;
    border: 2px solid #d97706;
    border-radius: 999px;
    background: repeating-linear-gradient(
        -45deg,
        #fff7ed,
        #fff7ed 10px,
        #ffedd5 10px,
        #ffedd5 20px
    );
    box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.15);
    color: #9a3412;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    animation: staging-badge-pulse 2.4s ease-in-out infinite;
}

.staging-environment-badge__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    background: #f97316;
    color: #fff;
    font-size: 0.8rem;
}

.staging-environment-badge__text {
    font-size: 0.82rem;
}

.staging-environment-badge__env {
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: #ea580c;
    color: #fff;
    font-size: 0.72rem;
}

@keyframes staging-badge-pulse {
    0%, 100% {
        box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.15);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(249, 115, 22, 0.18);
    }
}

@media (max-width: 767.98px) {
    .staging-environment-badge__text {
        display: none;
    }
}

.header-environment-info {
    flex: 1;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.85rem;
    margin-left: 0.75rem;
    margin-right: 0.75rem;
    min-width: 0;
}

.header-environment-info__item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    max-width: 100%;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: #f8f9fc;
    border: 1px solid #e3e6f0;
    color: #5a5c69;
    font-size: 0.72rem;
    line-height: 1.2;
}

.header-environment-info__item i {
    color: #4e73df;
    font-size: 0.75rem;
}

.header-environment-info__label {
    font-weight: 700;
    white-space: nowrap;
}

.header-environment-info__value {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 18rem;
}