@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
.register-section {
  width: 100%;
  height: 90vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column;
}

.form {
  width: 100%;
}

.form-step {
  display: none;
  animation: fadeIn 0.5s ease;
  flex-flow: column;
  justify-content: center;
  align-items: center;
}

.form-step.active {
  display: flex;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(-1em);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
input,
button,
select {
  width: 80%;
  padding: 0.8em;
  margin: 0.8em 0;
  border: none;
  border-radius: 10px;
  font-size: 1em;
}

select {
  -webkit-appearance: none;
  /* To remove default styling in some browsers */
  -moz-appearance: none;
  appearance: none;
}

button {
  background: var(--main-color);
  color: var(--text-color);
  cursor: pointer;
  border-radius: 25px;
  transition: background 0.3s;
}

button:hover {
  background: #d62828;
}

.progress-bar {
  height: 0.3em;
  background: var(--main-color);
  margin-bottom: 1em;
  width: 0%;
  transition: width 0.3s;
}

h2 {
  text-align: center;
  font-size: 1.5em;
  margin-bottom: 1em;
}

@media (min-width: 768px) {
  .register-section {
    max-width: 50%;
  }
  h2 {
    font-size: 2em;
  }
}
.back-button {
  width: 40%;
  border: 1px solid rgb(80, 80, 80);
  background-color: transparent;
  font-size: 0.8em;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.register-title {
  text-align: center;
  padding: 0;
}

.login {
  position: absolute;
  bottom: 60px;
  width: 50%;
  height: 30px;
  border: 1px solid rgb(80, 80, 80);
  background-color: transparent;
  font-size: 0.8em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 25px;
}
.login a {
  text-decoration: none;
  color: white;
}

.login-form {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column;
  width: 100%;
  height: 100vh;
}
.login-form form {
  width: 90%;
  text-align: center;
}

.bottom-menu {
  z-index: 9999;
  width: 100%;
  border-top: 1px solid var(--main-color);
  background: #222222;
  position: fixed;
  bottom: 0;
  display: flex;
  flex-flow: row;
  justify-content: space-around;
  align-items: center;
  color: white;
  height: 90px;
}
.bottom-menu a {
  text-decoration: none;
  color: white;
}

/* Masonry kontejner */
h1 {
  color: white;
  text-transform: uppercase;
}

.masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  /* Dynamický počet sloupců */
  gap: 10px;
  /* Mezera mezi boxy */
  grid-auto-flow: dense;
  width: 95%;
  justify-content: center;
  /* Umožňuje boxům zaplnit prázdná místa */
}

/* Boxy */
.box {
  background-color: #222222;
  padding: 20px;
  font-size: 16px;
  text-align: center;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  color: white;
  border-radius: 10px;
}

/* Specifické velikosti */
.box.wide {
  grid-column: span 2;
  /* Zabere dva sloupce */
}

.box.tall {
  grid-row: span 2;
  /* Zabere více řádků */
}

.box:hover {
  transform: translateY(-5px);
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15);
}

/* Responzivní pravidla */
@media (max-width: 600px) {
  .box.wide {
    grid-column: span 2;
    /* Na menších zařízeních zabere celý sloupec */
  }
}
.chart-container {
  padding: 1vw;
  float: left;
  width: 100%;
}

.inc-numbers {
  margin-top: -20px;
  font-weight: 600;
}

.value {
  color: var(--main-color);
  font-size: 2em;
  font-weight: 600;
}

.spacer {
  width: 100%;
  height: 120px;
}

.dropdown-container {
  position: relative;
  margin-bottom: 10px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #222222;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 90%;
}

.dropdown-header {
  font-size: 18px;
  font-weight: bold;
  color: white;
  padding: 10px;
  cursor: pointer;
  background-color: #222222;
  text-align: left;
  transition: border-bottom 0.3s;
}

.dropdown-header:hover {
  border-bottom: 1px solid var(--main-color);
}

.dropdown-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 10px;
  color: white;
  background-color: #333333;
  transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
}

.dropdown-content.open {
  max-height: 500px;
  padding: 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
  color: white;
}

td {
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

td:first-child {
  font-weight: bold;
  width: 70%;
}

td a:hover {
  text-decoration: underline;
}

.history-value {
  color: rgb(255, 255, 255);
}

.action-history {
  display: flex;
  align-items: center;
  justify-content: right;
  gap: 1em;
  padding-right: 10px;
  text-align: right;
  padding-top: 20px;
  padding-bottom: 10px;
  color: var(--main-color);
}

@media (max-width: 768px) {
  .dropdown-container {
    margin: 5px;
  }
  .dropdown-header {
    font-size: 16px;
    padding: 8px;
  }
  td {
    padding: 8px;
  }
  td:first-child {
    font-size: 14px;
  }
  td a {
    font-size: 14px;
  }
}
.settings {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-items: center;
}
.settings a {
  width: 90%;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid grey;
}
.settings a:hover .setting-item {
  background-color: rgba(255, 255, 255, 0.05);
}

.setting-item {
  width: 100%;
  display: flex;
  align-items: center;
  color: white;
  gap: 0.5em;
}
.setting-item i {
  margin-right: 10px;
}
.setting-item p {
  flex-grow: 1;
  font-size: 1em;
}

.section {
  width: 100%;
  min-height: 100vh;
  position: absolute;
  top: 0;
  z-index: 9998;
  background-color: #0e0e0e;
  color: white;
  display: none;
  flex-flow: column;
}

.container-settings {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.container-settings form {
  width: 90%;
}

h2 {
  text-align: center;
  margin-bottom: 1em;
  font-size: 1.5em;
  color: white;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}
.form-group label {
  margin-bottom: 5px;
  font-size: 0.9em;
  font-weight: bold;
}
.form-group input,
.form-group select {
  background: #292929;
  color: white;
  border: 0.1em solid #444;
  border-radius: 0.5em;
  padding: 0.8em;
  font-size: 1em;
  resize: none;
  width: 90%;
}
.form-group input:focus,
.form-group select:focus {
  border-bottom: 1px solid #007bff;
}
.form-group input[readonly] {
  color: #999;
}

.form-actions {
  display: flex;
  justify-content: flex-start;
  gap: 1em;
}
.form-actions button {
  padding: 8px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9em;
}
.form-actions .save-btn {
  background-color: #28a745;
  color: white;
}
.form-actions .cancel-btn {
  background-color: #dc3545;
  color: white;
}

.back-btn {
  background-color: transparent;
  border: none;
  color: white;
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 1.2em;
  margin-bottom: 1em;
}

#zarizeni label {
  padding-left: 1.25em;
}
#zarizeni .form-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: left;
  padding-top: 0.625em;
}
#zarizeni .form-group .textarea-wrapper {
  position: relative;
  width: 90%;
}
#zarizeni .form-group .textarea-wrapper #deviceKey {
  width: 90%;
  min-height: 3em;
  background: #292929;
  color: transparent;
  border: 0.1em solid #444;
  border-radius: 0.5em;
  padding: 0.8em;
  font-size: 1em;
  resize: none;
  transition: background 0.3s ease, color 0.3s ease;
  filter: blur(0.5em);
}
#zarizeni .form-group .textarea-wrapper #deviceKey.blurred {
  cursor: not-allowed;
}
#zarizeni .form-group .textarea-wrapper #deviceKey:not(.blurred) {
  filter: none;
  color: white;
  background: #1b1b1b;
  cursor: text;
}
#zarizeni .form-group .textarea-wrapper .overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 1em;
  background: rgba(0, 0, 0, 0.7);
  padding: 0.5em 1em;
  border-radius: 0.5em;
  pointer-events: none;
}
#zarizeni .form-group #copyButton {
  margin-top: 0.5em;
  display: none;
  background: var(--main-color);
  color: white;
  padding: 0.5em 1em;
  border: none;
  border-radius: 0.5em;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.3s ease;
}
#zarizeni .form-group #copyButton:hover {
  background: #555;
}

.connected-device {
  display: flex;
  align-items: center; /* Center the content horizontally */
  width: 100%;
  justify-content: center;
  flex-flow: column;
}

.device-item {
  background: #292929;
  color: white;
  border: 0.1em solid #444;
  border-radius: 0.5em;
  padding: 0.8em;
  font-size: 1em;
  resize: none;
  width: 80%;
}
.device-item .device-delete {
  width: 100%;
  background-color: transparent;
  border: 1px solid grey;
}

.device-item h3 {
  margin: 0;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--main-color);
  margin-bottom: 1em;
}

.device-info {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.device-info li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75em;
  font-size: 1em;
  color: #6c6c6c;
}
.device-info li strong {
  color: #aaa;
}

.admin {
  color: rgb(30, 79, 193);
}

.app-settings {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100vh;
}

.em-container {
  max-width: 100%;
  margin: 20px auto;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column;
}

.em-section-title {
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 10px;
}

.em-event-card .date {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  margin-right: 10px;
  background-color: rgba(63, 63, 63, 0.6588235294);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 600;
  flex-flow: column;
}
.em-event-card .date .day {
  color: var(--main-color);
  font-size: 1.5em;
}
.em-event-card .date .month {
  color: rgb(255, 255, 255);
}

.em-event-info {
  flex-grow: 1;
}

.em-event-info h3 {
  font-size: 16px;
  margin: 0;
  color: #ffffff;
}

.em-event-info p {
  margin: 5px 0;
  font-size: 14px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.em-event-info .em-attendees {
  font-size: 12px;
  color: #ffffff;
}

.em-event-actions {
  display: flex;
  align-items: center;
}

.em-event-actions .em-more-options {
  width: 24px;
  height: 24px;
  background-color: #3d3d3d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.em-event-actions .em-more-options:hover {
  background-color: #ccc;
}

.em-event-card {
  background: #1b1b1b;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
  display: flex;
  padding: 10px;
  align-items: center;
  color: white;
  position: relative; /* Přidáno pro umístění tlačítek */
  width: 90%;
  min-height: 15dvh;
}

.em-edit-delete {
  position: absolute; /* Umístění do rohu */
  bottom: 10px;
  right: 10px;
  display: flex;
  gap: 5px; /* Mezera mezi tlačítky */
}

.em-edit-delete button {
  background: #3f3f3f;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 5px;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.em-edit-delete button:hover {
  background: var(--main-color);
}

.em-edit-delete button i {
  font-size: 16px;
}

.scrollable-menu-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  scrollbar-width: none;
}

.scrollable-menu {
  display: flex;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.scrollable-menu li {
  flex: 0 0 auto;
  padding: 10px 15px;
}

.scrollable-menu a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
}

.scrollable-menu-container::-webkit-scrollbar {
  display: none;
}

/* Wrapper pro detaily */
.em-detail-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(17, 17, 17, 0.9);
  z-index: 1000;
  display: flex;
  align-items: center;
  flex-flow: column;
  justify-content: center;
  transform: translateX(-100%);
  /* Defaultně skrytý detail */
  transition: transform 0.5s ease-in-out;
  visibility: hidden;
}
.em-detail-layer.visible {
  transform: translateX(0);
  /* Zobrazený stav pro detail */
  visibility: visible;
}
.em-detail-layer.closing {
  transform: translateX(-100%);
  /* Odjezd zpět na levou stranu */
  visibility: visible;
  /* Udržujeme viditelnost pro animaci */
}

.em-detail-content {
  border-radius: 10px;
  padding: 20px;
  width: 90%;
  max-width: 400px;
  color: white;
}
.em-detail-content h3 {
  margin-bottom: 15px;
  font-size: 24px;
  color: #ffffff;
}
.em-detail-content p {
  margin: 10px 0;
  font-size: 14px;
  line-height: 1.6;
  color: #ffffff;
}
.em-detail-content .close-detail {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: var(--main-color);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.em-detail-content .close-detail:hover {
  background-color: var(--main-color) cc;
}

.no-events {
  text-align: center;
  font-size: 18px;
  color: #fff;
  margin-top: 20px;
}

.add-event {
  position: fixed;
  bottom: 15%;
  right: 5%;
  z-index: 999;
}

.add-event a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--main-color);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.add-event a:hover {
  background-color: rgba(193, 30, 56, 0.8);
}

.event-form-layer {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh;
  background-color: #1b1b1b;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s ease;
  z-index: 100000;
}

.event-form-layer.visible {
  transform: translateX(100%);
}

.event-form-content {
  background-color: #1b1b1b;
  padding: 20px;
  width: 100%;
  height: 80vh;
  border-radius: 10px;
  color: white;
  animation: slide-in 0.5s ease-out;
}

.event-form-content h2 {
  margin-bottom: 20px;
  color: var(--main-color);
  text-align: center;
}

.event-form-content label {
  display: block;
  margin: 10px 0 5px;
  font-weight: bold;
}

.event-form-content input,
.event-form-content textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: none;
  border-radius: 5px;
  background-color: #2b2b2b;
  color: white;
  font-size: 14px;
}

.event-form-content button {
  width: 48%;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.event-form-content button[type=submit] {
  background-color: rgb(193, 30, 56);
  color: white;
}

.event-form-content button[type=submit]:hover {
  background-color: rgba(193, 30, 56, 0.8);
}

.event-form-content button.close-form {
  background-color: gray;
  color: white;
  margin-left: 4%;
}

.event-form-content button.close-form:hover {
  background-color: darkgray;
}

/* Animace */
@keyframes slide-in {
  from {
    transform: translateX(-20%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
.form-event-action {
  display: flex;
  flex-flow: row;
}

.em-participate {
  position: absolute; /* Umístění do rohu */
  bottom: 10px;
  right: 10px;
  display: flex;
  gap: 5px; /* Mezera mezi tlačítky */
}

.em-participate button {
  background: #3f3f3f;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 5px;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.swal2-container {
  z-index: 100001 !important; /* Zajistí, že bude vidět i nad jinými elementy */
  position: fixed; /* Fixní pozice, aby se zobrazoval nad stránkou */
  top: 0; /* Zobrazí se co nejvýš */
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start; /* Zarovnání nahoře */
  padding-top: 2em; /* Vzdálenost od vrchu */
}

.swal2-popup {
  background: #292929; /* Tmavé pozadí */
  color: white;
  border-radius: 0.5em;
  border: 1px solid #444;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.swal2-title {
  font-size: 1.5em;
  font-weight: bold;
  color: white;
}

.swal2-html-container {
  color: #ccc;
  font-size: 1em;
}

.swal2-confirm,
.swal2-cancel {
  padding: 0.6em 1.2em;
  border-radius: 0.4em;
  font-size: 1em;
  border: none;
  transition: background-color 0.3s ease;
}

.swal2-confirm {
  background-color: #1abc9c;
  color: white;
}

.swal2-confirm:hover {
  background-color: #16a085;
}

.swal2-cancel {
  background-color: #e74c3c;
  color: white;
}

.swal2-cancel:hover {
  background-color: #c0392b;
}

.admin-dashboard {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.container {
  display: flex;
}

.sidebar {
  width: 15%;
  background: #202020;
  color: #fff;
  height: 100vh;
  padding: 20px;
  position: fixed;
  left: 0;
  top: 0;
  transition: transform 0.3s ease-in-out;
}
.sidebar .logo {
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}
.sidebar nav ul {
  list-style: none;
}
.sidebar nav ul li {
  margin: 15px 0;
}
.sidebar nav ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  transition: background 0.3s;
}
.sidebar nav ul li a:hover {
  background: #3a3a3a;
  border-radius: 5px;
}

.admin-dashboard {
  flex-grow: 1;
  margin-left: 15%;
  padding: 20px;
}

.burger-menu {
  display: none;
  position: fixed;
  top: 15px;
  left: 15px;
}
.burger-menu button {
  background: #c11e38;
  color: #fff;
  border: none;
  padding: 10px 15px;
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 5px;
}

@media (max-width: 768px) {
  .admin-dashboard {
    width: 100%;
  }
  .sidebar {
    transform: translateX(-100%);
    width: 60%;
    position: fixed;
    height: 100%;
    z-index: 100;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .dashboard {
    margin-left: 0;
    padding: 10px;
  }
  .burger-menu {
    display: block;
  }
}
.edge-table-container {
  overflow-x: auto;
  width: 100%;
  max-height: 500px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.edge-table {
  width: 100%;
  border-collapse: collapse;
  background: #202020;
  color: #fff;
  border-radius: 8px;
  overflow: hidden;
}
.edge-table thead {
  position: sticky;
  top: 0;
  background: #131313;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.edge-table th,
.edge-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #444;
}
.edge-table tbody tr:hover {
  background: #2d2d2d;
}
.edge-table td:first-child {
  width: auto !important;
}

.edge-verified {
  color: green;
  font-weight: bold;
}

.edge-not-verified {
  color: red;
  font-weight: bold;
}

.edge-state-active {
  color: #4caf50;
  font-weight: bold;
}

.edge-state-banned {
  color: #e53935;
  font-weight: bold;
}

.edge-state-muted {
  color: #ff9800;
  font-weight: bold;
}

.edge-pagination {
  text-align: center;
  margin-top: 20px;
}
.edge-pagination a {
  display: inline-block;
  padding: 8px 12px;
  margin: 0 4px;
  text-decoration: none;
  color: #fff;
  background: #c11e38;
  border-radius: 4px;
  transition: 0.3s;
}
.edge-pagination a.active {
  background: #95172b;
}
.edge-pagination a:hover {
  background: #df334e;
}

.edge-table-header {
  margin-bottom: 15px;
  text-align: right;
}
.edge-table-header input {
  padding: 10px;
  width: 250px;
  border: 1px solid #444;
  border-radius: 5px;
  background: #1b1b1b;
  color: white;
  outline: none;
  transition: 0.3s;
}
.edge-table-header input:focus {
  border-color: #c11e38;
  box-shadow: 0 0 5px rgba(193, 30, 56, 0.5);
}

.edge-action-select {
  background: #333;
  color: white;
  border: 1px solid #444;
  padding: 8px;
  border-radius: 5px;
  font-size: 14px;
  width: 150px;
  cursor: pointer;
  transition: 0.3s;
}
.edge-action-select:focus {
  outline: none;
  border-color: #c11e38;
}
.edge-action-select option {
  background: #333;
  color: white;
}
.edge-action-select option:hover {
  background: #df334e;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}

.bento-item {
  background-color: #161616;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.bento-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}
.bento-item .bento-title {
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 10px;
}
.bento-item .bento-value {
  font-size: 24px;
  font-weight: bold;
  color: #c11e38;
}
.bento-item .bento-subtext {
  font-size: 14px;
  color: #777;
  margin-top: 10px;
}

.map-adder {
  width: 100%;
  height: 80vh;
  display: flex;
  align-items: center;
  flex-flow: column;
  justify-content: center;
}
.map-adder img {
  width: 200px;
}
.map-adder p {
  width: 90%;
  color: white;
  text-align: center;
}
.map-adder .map-next-step {
  background-color: var(--main-color);
  padding: 0.4em 1em;
  border-radius: 10px;
  text-decoration: none;
  color: white;
}
.map-adder input {
  background: #292929;
  color: white;
  border: 0.1em solid #444;
  border-radius: 0.5em;
  padding: 0.8em;
  font-size: 1em;
  resize: none;
  width: 90%;
}
.map-adder .step {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column;
}

.hidden {
  display: none !important;
}

.share-template {
  width: 1080px;
  height: 1920px;
  display: flex;
  align-items: center;
  background: url("../img/template-bg.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  flex-flow: column;
  color: white;
  font-size: 3em;
}
.share-template .bottom-text-template {
  margin-top: -40px;
}
.share-template table {
  width: 80%;
  font-family: 2em;
}
.share-template table tr {
  font-size: 2em;
}

.profile-image {
  display: flex;
  padding: 20px;
  flex-flow: row;
  color: white;
  align-items: start;
  justify-content: start;
}
.profile-image img {
  width: 100px;
  height: 100px;
  border-radius: 15px;
  border: 2px solid var(--main-color);
  z-index: 999;
}
.profile-image .username {
  padding-left: 20px;
}
.profile-image .username h5 {
  margin-top: -15px;
  font-weight: 200;
}

.divider {
  width: 90%;
  border-bottom: 0.5px solid gray;
}

.profile-info {
  z-index: 99;
  width: 90%;
  background-color: rgba(0, 0, 0, 0.295);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  padding-top: 50px;
  border-radius: 10px;
  margin-top: -65px;
}

.profile-container {
  display: flex;
  flex-flow: column;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.user-stats {
  background-color: rgba(70, 70, 70, 0.5);
  width: 90%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 15px;
}
.user-stats .stat-item {
  display: flex;
  flex-flow: row;
  justify-content: center;
  align-items: center;
  color: white;
  gap: 10px;
  font-size: 0.8em;
}

.latest-data {
  width: 90%;
  background-color: rgba(70, 70, 70, 0.5);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-radius: 15px;
  justify-content: start;
  border: 1px solid var(--main-color);
  color: white;
}
.latest-data .item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.account-header {
  color: white;
  text-transform: uppercase;
}

.search-engine {
  color: white;
  width: 100%;
}
.search-engine input {
  width: 100%;
  background-color: rgba(0, 0, 0, 0);
  border-bottom: 1px solid grey;
  border-radius: 0px;
  color: white;
}
.search-engine textarea:focus,
.search-engine input:focus {
  outline: none;
}
.search-engine .result {
  padding-left: 20px;
  padding-bottom: 10px;
}
.search-engine .result a {
  text-decoration: none;
  color: white;
}

.alert-page {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column;
  color: var(--main-color);
}
.alert-page .icon-alert {
  width: 48px;
  height: 48px;
}
.alert-page h1 {
  text-align: center;
  font-size: 1.2em;
}
.alert-page p {
  width: 90%;
  color: white;
  text-align: center;
  font-size: 1em;
}

.create-group-container {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #1b1b1b;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.create-group-container.open {
  transform: translateX(100%);
}

.create-group-form {
  padding: 20px;
  border-radius: 12px;
  width: 90%;
  text-align: center;
  height: auto;
}
.create-group-form h3 {
  color: #c11e38;
  margin-bottom: 15px;
}
.create-group-form h4 {
  color: white;
}
.create-group-form label {
  display: block;
  margin: 10px 0 5px;
  color: white;
  font-weight: bold;
}
.create-group-form input[type=text] {
  padding: 10px;
  border-radius: 6px;
  border: none;
  background: #333;
  color: white;
  outline: none;
}
.create-group-form #user_results {
  margin-top: 10px;
  background: #252525;
  border-radius: 6px;
  padding: 5px;
  max-height: 150px;
  overflow-y: auto;
}
.create-group-form #user_results .user-result {
  display: grid;
  grid-template-columns: 60% 40%;
  justify-content: space-between;
  align-items: center;
  padding: 5px 10px;
  color: white;
  cursor: pointer;
}
.create-group-form #user_results .user-result:hover {
  background: rgba(255, 255, 255, 0.1);
}
.create-group-form #user_results .user-result .add-user {
  width: 100%;
  background: #252525;
  border: none;
  color: var(--main-color);
  padding: 5px 10px;
  border-radius: 4px;
  text-align: right;
  cursor: pointer;
  font-weight: 600;
}
.create-group-form #user_results .user-result .add-user:hover {
  background: #e53950;
}
.create-group-form #selected_users {
  margin-top: 10px;
  background: #252525;
  border-radius: 6px;
  padding: 10px;
}
.create-group-form #selected_users .selected-user {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  margin-bottom: 5px;
}
.create-group-form #selected_users .selected-user p {
  color: white;
  margin: 0;
}
.create-group-form #selected_users .selected-user .remove-user {
  cursor: pointer;
  color: #ff5555;
  font-size: 14px;
  padding: 3px;
  transition: color 0.2s;
}
.create-group-form #selected_users .selected-user .remove-user:hover {
  color: #ff2222;
}
.create-group-form .create-group-btn {
  width: 100%;
  padding: 10px;
  margin-top: 15px;
  background: #c11e38;
  border: none;
  color: white;
  font-weight: bold;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}
.create-group-form .create-group-btn:hover {
  background: #e53950;
}

.close-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 10px;
  color: white;
  transition: color 0.2s;
}
.close-btn:hover {
  color: #e53950;
}

.noti-container {
  width: 100%;
  display: flex;
  align-items: center;
  flex-flow: column;
}
.noti-container .notification {
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;
  border-bottom: 1px solid grey;
}
.noti-container .notification .buttons {
  display: flex;
  gap: 10px;
}
.noti-container .notification .buttons form .accept {
  background-color: rgb(31, 187, 31);
}
.noti-container .notification .buttons form .decline {
  background-color: rgb(172, 33, 33);
}
.noti-container .notification .buttons form button {
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

body {
  margin: 0;
  padding: 0;
  background-color: #0e0e0e;
}

:root {
  --main-color: #c11e38;
  --premium: gold;
  --admin: rgb(30, 79, 193);
  --founder: rgb(18, 202, 18);
}

* {
  font-family: "Montserrat", serif;
}

.container {
  width: 100%;
  min-height: 100vh;
}

.flex {
  display: flex;
  align-items: center;
  flex-flow: column;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: center;
  align-items: center;
  flex-flow: column;
}

.success {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column;
  text-align: center;
}
.success a {
  background: var(--main-color);
  color: var(--text-color);
  cursor: pointer;
  border-radius: 25px;
  transition: background 0.3s;
  text-decoration: none;
  padding: 0em 1em;
}

.device-not-found {
  width: 100%;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column;
}
.device-not-found p {
  text-align: center;
  width: 90%;
  color: gray;
}
.device-not-found .error-icon {
  width: 80px;
  height: 80px;
  color: #c11e38;
}

.add-to-group {
  position: absolute;
  right: 0;
  padding-top: 20px;
  padding-right: 20px;
  color: white;
}
.add-to-group .icon-profile {
  text-decoration: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column;
  background-color: rgba(70, 70, 70, 0.5);
  padding: 10px;
  border-radius: 10px;
}
.add-to-group .icon-profile a {
  text-decoration: none;
  color: white;
  width: 25px;
  height: 25px;
}

/* HTML: <div class="loader"></div> */
.loader-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column;
  width: 100%;
  height: 100vh;
  background-color: #0e0e0e;
}

.loader {
  width: 45px;
  aspect-ratio: 1;
  --c: no-repeat linear-gradient(#ffffff 0 0);
  background: var(--c) 0 0, var(--c) 50% 50%, var(--c) 100% 100%;
  animation: l17 1s infinite alternate;
}

@keyframes l17 {
  0%, 10% {
    background-size: 20% 100%;
  }
  50% {
    background-size: 20% 20%;
  }
  90%, 100% {
    background-size: 100% 20%;
  }
}
.hidden {
  animation: fadeZoomOut 0.5s ease-out forwards;
}

@keyframes fadeZoomOut {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.9);
  }
}
/* Skryj úplně po animaci */
#loader-wrapper {
  transition: opacity 0.5s ease-out;
}

#loader-wrapper.hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}/*# sourceMappingURL=style.css.map */