.user-menu {
  /*opacity: 0;
  position: absolute;
  display: none;
  z-index: 1041;
  background: #1c1d1d;
  background: var(--main-bg-color-default);
  border-radius: 5px;
  border: 1px solid #1d9fdf;
  padding: 5px;*/
}

#alert-menu-container {
  /*min-width: 200px;
  max-height: 300px;*/
  width:100%;
  height:100%;
  overflow-y: auto;
}

/* .user-menu a {
  display: block;
  width: 100%;
  color: #727272;
  color: var(--user-menu-a-color);
}

.user-menu a:hover {
  text-decoration: none;
  background: #333;
  background: var(--user-menu-a-hover-background);
} */

.alert-counter,
.notification-counter {
  position: absolute;
  left: 5px;
  top: -7px;
  cursor: pointer;
  z-index: 1000px;
}

.alert-counter-nav,
.notification-counter-nav {
  position: absolute;
  left: 10px;
  top: 15px;
  cursor: pointer;
  z-index: 1000px;
}

.user-menu-pointer {
  cursor: pointer;
}
.user-menu-separator {
	height: 5px;
}
.user-menu-premium {
	color: #e0b33c;
}
.user-menu-storage-usage-loading {
	height: 22px;
}

.user-menu-storage-usage-loading .circle-infinite-loading {
	left: calc(50% - 102px) !important;
}
.user-menu-storage-usage-loading .circle-infinite-loading-bar {
	height: 10px !important;
	width: 10px !important;
	margin-left: 5px;
}
.user-menu-administrator {
	/* color: #2196f3; */
	color: var(--active-blue);
}
.user-menu-distributor {
	color: var(--active-blue);
}
.user-settings-menu-block{
  display: block;
  float: left;
  width: 100%;
  height: auto;
  background: #111;
  background: var(--user-settings-menu-bg-color);
  margin-bottom: 5px;
  border-radius: 5px;
  padding: 3px;
  text-align: center;
  color:var(--text-white-on-black);
}

.item-highlight {
	color: #ffc107;
}

.custom-list-entry,
.custom-list-new {
	margin: 5px 10px 5px 10px;
  border-radius: 5px;
  padding: 5px 5px 2px 5px;
  float: left;
}

.custom-list-entry .glyphicons-remove-circle {
	float: right;
	margin-top: -5px;
	color: #a94442;
	cursor: pointer;
}

.custom-list-div {
	height: calc(100vh - 65px);
}

.custom-list-entry {
  width: calc(100% - 20px);
  color: #bbb;
  color: var(--heading-white-on-black);
}

.custom-list-entry .descr {
	color: #fff;
  color: var(--text-white-on-black);
}

.custom-list-project {
  border: 2px solid #2196f3;
}

.custom-list-user {
  border: 2px solid #673ab7;
}

.custom-list-new {
	color: #898989;
  border: 2px dashed #898989;
  width: calc(100% - 20px);
  font-size: 1.2rem;
}

.custom-list-title {
  font-size: 16px;
	color: #898989;
	text-transform: uppercase;
	margin-bottom: 20px;
}

.custom-list-data {
	width: 100%;
	/* height: calc(100% - 100px); */
	overflow-y: auto;
}

.project-api-caption {
	color: #607D8B;
}

.no-tokens-warning,
.key-code-entry {
	margin-top: 10px;
	margin-bottom: 10px;
	float: left;
  width: 100%;
}

.key-code-entry > .col-xs-12 {
	margin-bottom: 5px;
  padding: 0;
}

.key-code-entry .glyphicons-remove {
	cursor: pointer;
	color: #F44336;
}

.key-code-entry .glyphicons-copy {
	cursor: pointer;
	color: #fff;
  color: var(--text-white-on-black);
}

.key-code-entry .glyphicons-copy:hover,
.key-code-entry .glyphicons-remove:hover {
	color: #1d9fdf;
}

.key-code-entry .col-lg-4 {
	position: unset;
}

.add-key-button {
  padding-top: 2px;
  padding-bottom: 2px;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 5px;
  display: inline-block;
  color: #000;
  cursor: pointer;
  background: #fff;
  line-height: 1.5 !important;
  font-weight: bold;
  font-size: 16px;
  float: right;
  margin-top: 10px;
  margin-bottom: 10px;
}

.add-key-button .glyphicon {
  margin-right: 5px;
}

.add-key-button:hover {
  color: #1d9fdf;
  background: #fff;
}

.key-code-entry .counter {
	float: right;
	position: relative;
	/* top: 5px; */
}

.token-line{
  display:flex;
  width:100%;
  justify-content:space-between;
}
.key-code-entry{
  padding: .5rem;
  border-radius: 1rem;
}
.key-code-entry:nth-child(even){
  background: var(--row-2n1);
}
.token-line .col-lg-4{
  width: 33.333333%;
  display: flex;
  justify-content: center;
  align-items:center;
}
.token-line .col-lg-4 .glyphicons,
.token-line .col-lg-4 .counter{
  padding-right: .5rem;
}
.token-line .col-lg-4:first-child{
  justify-content: flex-start;
}
.token-line .col-lg-4:last-child{
  justify-content: flex-end;
}
.project-api-tokens-title {
	margin-bottom: 10px;
}

.project-api-tokens-title div {
	float: right;
}

.user-menu-wrapper {
  position: relative;
}

#welcomeTextDontShowAgainBtn {
  position: absolute;
  bottom: -3.4rem;
  display: inline-block;
  margin-left: calc(50% - 8rem);
  z-index: 1;
}

#welcomeTextDontShowAgainBtn input {
  font-size: 1rem;
}

/*
#welcomeTextDontShowAgainBtn.checkbox.active:before {
  content: '\e013';
  color: #1d9fdf;
  font-size: 0.625rem;
  left: 0;
  top: 0;
  position: absolute;
  pointer-events: none;
  font-family: 'Glyphicons Halflings';
}
*/

#welcomeTextDontShowAgainBtn.checkbox label::before {
  content: '\e013';
  color: transparent;
  font-size: 0.625rem;
  font-family: 'Glyphicons Halflings';
  top: -0.2rem;
  position: relative;
}


#welcomeTextDontShowAgainBtn.checkbox.active label::before {
  color: #1d9fdf;
}


#welcomeTextDontShowAgainBtn label {
  white-space: nowrap;
  color: var(--modal-body-content-color) !important;
}

.welcome-text-box svg {
  width: 4rem;
  float: left;
  margin-right: 1rem;
  position: relative;
  top: -1rem;
  fill: var(--heading-white-on-black)
}
.user-settings-menu-block.group-box{
  margin-bottom: .5rem;
}
.user-settings-menu-block .outlined-button{
  margin-bottom: .5rem;
}
.user-settings-menu-block .outlined-button:last-child{
  margin-bottom: 0;
}
#alert-menu{
  width:100%;
}
@media screen and (max-width: 600px) {
  .token-line .col-lg-4{
    width: 100%;
    justify-content: flex-start;
    padding: 0;
    margin-bottom: .5rem;
  }
  .token-line .col-lg-4:last-child{
    margin-bottom: 0;
    justify-content: flex-start;
  }
  .token-line {
    flex-wrap: wrap;
  }
}

.welcome-navigator-button {
  border-radius: 50%;
  border: 2px var(--text-white-on-black) solid;
  width: 1rem;
  height: 1rem;
  cursor: pointer;
  display: inline-block;
  margin-left: 0.25rem;
  margin-right: 0.25rem;
  margin-top: 0.5rem;
  -moz-transition: .25s ease-in-out;
  -webkit-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

.welcome-navigator-button.active {
  background: var(--text-white-on-black);
}

.welcome-message-box-single {
  min-height: 40rem;
}

.updates-toast-container {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
  z-index: 99999; /* wystarczaj�co wysoko, ale mo�esz dopasowa� */
  pointer-events: none; /* domy�lnie klikalne tylko same toasty */
  max-width: calc(100% - 2rem);
}

.updates-toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 260px;
  max-width: 420px;
  background: #111;
  color: var(--station-list-item-h5-color) !important;
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45), 0 2px 6px rgba(0,0,0,0.2);
  overflow: hidden;
  transform-origin: bottom right;
  transform: translateX(120%) scale(0.95);
  opacity: 0;
  transition: transform 350ms cubic-bezier(.25,.9,.3,1.2), opacity 200ms ease-in;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  border: 1px solid rgba(255,255,255,0.05);
}

.updates-toast.updates-toast--show {
  transform: translateX(0) scale(1);
  opacity: 1;
}

.updates-toast__content {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  flex: 1 1 auto;
  margin-right: 1rem;
  min-width: 0; /* for truncation */
}

.updates-toast__title {
  font-size: 1.25rem;
  line-height: 1;
}

.updates-toast__message {
  font-size: 1.1rem;
  opacity: 0.92;
  line-height: 1.2;
  margin-top: 2px;
  white-space: normal;
  word-break: break-word;
}

.updates-toast__close,
.updates-toast__more {
  background: transparent;
  border: 0;
  color: inherit;
  line-height: 1;
  cursor: pointer;
  border-radius: 6px;
  transition: opacity 140ms ease, background-color 140ms ease;
}

.updates-toast__close {
  font-size: 1.6rem;
  top: 0.2rem;
  position: absolute;
  right: 2rem;
  opacity: 0.75;
  padding: 0.15rem 0.35rem;
}

.updates-toast__more {
  padding: 0.25rem 0.55rem;
  color: #fff;
  background-color: var(--active-blue);
}

.updates-toast__close:hover { opacity: 1; background: rgba(255,255,255,0.03); }
.updates-toast__more:hover { filter: brightness(0.85); }

.updates-toast--info    { background-color: var(--main-popup-group-box-border) !important; }

.updates-toast::before {
  content: "";
  width: 6px;
  height: 100%;
  display: block;
  border-radius: 6px;
  margin-right: 0.5rem;
  flex: 0 0 6px;
  align-self: stretch;
  background: rgba(255,255,255,0.08);
}
.updates-toast--info::before    { background: rgba(160,200,255,0.12); }

@media (max-width: 420px) {
  .updates-toast-container { right: 0.5rem; left: 0.5rem; bottom: 0.75rem; align-items: center; }
  .updates-toast { width: 100%; max-width: none; min-width: 0; border-radius: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .updates-toast, .updates-toast.updates-toast--show {
    transition: none;
    transform: none;
    opacity: 1;
  }
}

.changelog {
  margin: 2rem auto;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  line-height: 1.5;
  overflow-y: auto;
  max-height: 60vh;
}

.changelog h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--afd-remote-dest-descr-color);
  padding-bottom: 0.4rem;
  margin-right: 2rem;
}

/* Lista */
.changelog__list {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-right: 2rem;
}

/* Pojedynczy wpis */
.changelog__item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1.25rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border-devider-color);
  transition: background 0.2s ease;
}

.changelog__item:hover {
  background: rgba(255,255,255,0.03);
}

/* Data */
.changelog__date {
  font-size: 0.9rem;
  text-align: right;
  font-variant-numeric: tabular-nums; /* lepsze wyr�wnanie cyfr */
  white-space: nowrap;
}

/* Opis zmian */
.changelog__details {
  font-size: 0.95rem;
}

.changelog__details strong {
  display: block;
  font-weight: 600;
  margin-bottom: 0.1rem;
}

/* Responsywno�� � na w�szych ekranach pionowo */
@media (max-width: 600px) {
  .changelog__item {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  .changelog__date {
    text-align: left;
    font-size: 0.85rem;
  }
}

.changes-more {
  opacity: 0;                     /* hidden at first */
  animation: fadeIn 0.6s ease-out forwards;
  text-align: left;
}


.changes-more-button {
  margin-left: 1rem;
  padding: 0.25rem 0.55rem;
  color: #fff;
  background-color: var(--active-blue);
  border-radius: 6px;
  border: 0;
  float: right;
  margin-bottom: 0.25rem;
}

.changes-more-video,
.changes-more-image {
  max-width: 100%;  
  border-radius: 6px;
}

.changes-more-image {
  cursor: pointer;
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}