body {
  font-family: "Nunito", sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 20px;
  background-color: #f5f5f5;
  color: #293845;
  letter-spacing: 0.5px;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.title-bar {
  display: grid;
  margin-bottom: 60px;
  row-gap: 20px;
}
.title {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: 2px;
  margin: 0;
  line-height: 1.2;
  position: relative;
}
.title-to {
  /*border-style: solid;
  border-width: 2px;
  border-radius: 4px;*/
  padding: 0px 3px;
}
.fa-power-off {
  font-size: 31px;
  position: absolute;
  top: 7px;
  /*left: 138px;*/
  -webkit-text-stroke: 2px #293845;
}

.subtitle {
  font-weight: lighter;
  font-weight: normal;
  font-size: 19px;
  letter-spacing: 1px;
  margin: 0px;
  margin-top: 0px;
  margin-left: 1px;
  line-height: 12px;
  /*display: none;*/
}
.logout-div {
  text-align: left;
}

.form-group {
  margin-bottom: 15px;
}

.auth-section .title {
  margin-bottom: 20px;
}
.auth-section button {
  margin-top: 0px;
  font-weight: 600;
}

input {
  font-family: "Nunito", sans-serif;
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-sizing: border-box;
  font-size: 13px;
  letter-spacing: 1px;
}

.header {
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 2px;
  margin: 0;
  margin-bottom: 9px;
  line-height: 1.2;
}
.register-header {
  margin-top: 50px;
}

footer {
  text-align: center;
  font-size: 0.75rem;
  color: #606060;
}
.milost-link:hover {
  cursor: pointer;
  text-decoration: underline;
}

button {
  font-family: "Nunito", sans-serif;
  background-color: #4b5c6b;
  color: white;
  border: none;
  padding: 10px 15px;
  padding-top: 11px;
  padding-bottom: 10px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  font-weight: normal;
  line-height: 1.6;
  letter-spacing: 0.5px;
  position: relative;  
}

button:hover {
  background-color: #293845;
}

.logout-btn {
  background: rgba(0, 0, 0, 0);
  color: #293845;
  border: 1px solid black;
  box-shadow: none;
  font-weight: normal;
  margin-top: 3px;
}
.logout-btn:hover {
  background: rgba(41, 56, 69, 0.1);
}

.ikonka {
  color: rgba(255, 255, 255, 0.15);
  position: absolute;
}
.pc-buttons .ikonka {
  font-size: 40px;
  top: 10px;
  left: 10px;
}
.more-buttons .ikonka {
  font-size: 30px;
  top: 10px;
  left: 10px;
}

.status-section {
  display: grid;
}

.rustdesk-btn {
  text-align: right;
  cursor: pointer;
  text-decoration: underline;
}
.rustdesk-btn:hover {
  color: black;
}

.more-header {
  font-size: 16px;
  font-weight: normal;
  letter-spacing: 0.5px;
  line-height: 1.2;
  cursor: pointer;
}
.more-header i {
  width: 10px;
}
.more-section {
  margin-top: 50px;
}

.pc-buttons {
  display: grid;
  gap: 20px;
  grid-auto-rows: 150px;
  margin: 60px auto;
  margin-bottom: 0px;
}
.pc-buttons .first {
  grid-column-start: 1;
}
.more-buttons {
  display: grid;
  gap: 20px;
  grid-auto-rows: 100px;
  margin-top: 30px;
}

.status-message {
  border-radius: 4px;
  margin: 17px auto;
  min-height: 26px;
  font-family: "Source Code Pro", monospace;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0px;
}
.status-message span {
  padding: 0px 10px 0px 5px;
  color: #606060;
  background-color: #e9e9e9;
  border-radius: 5px;
}
.status-message.success span {
  background-color: #e8f5e9;
  color: #2e7d32;
}
.status-message.error span {
  background-color: #ffebee;
  color: #c62828;
}
.auth-section .status-message {
  margin: 12px auto;
}
.status-message .fa-solid {
  font-size: 15px;
}

@media (min-width: 350px) {
  .pc-buttons {
    grid-template-columns: repeat(2, 1fr);
  }
  .pc-buttons .first {
    grid-column-start: 1;
  }
  .more-buttons {
    grid-template-columns: repeat(2, 1fr);
  }
  .more-section {
    margin-top: 40px;
  }
}
@media (min-width: 435px) {
  .title-bar {
    grid-template-columns: auto 130px;
  }
  .logout-div {
    text-align: right;
  }
}
@media (min-width: 520px) {
  .pc-buttons {
    grid-template-columns: auto 170px minmax(min-content, 60px) 170px auto;
  }
  .pc-buttons .first {
    grid-column-start: 2;
  }
  .pc-buttons .second {
    grid-column-start: 4;
  }
  .more-buttons {
    grid-template-columns: repeat(3, 1fr);
  }
  .more-section {
    margin-top: 20px;
    margin-bottom: 0px;
  }
  .more-section p {
    margin: 0px;
  }
  /* status message */
  .pc-buttons {
    margin-bottom: 60px;
  }
  .status-section {
    grid-template-columns: auto auto;
  }
  .status-message {
    margin: 0px;
  }
  /* END status message */
}
@media (min-width: 700px) {
  .more-buttons {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Modal dialog */
.modal-dialog {
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0px;
  top: 0px;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.8); /* Black w/ opacity */
  color: white;
  text-align: center;
  backdrop-filter: blur(4px);
}

.modal-content {
  display: inline-block;
  color: white;
  margin: 15% auto;
  text-align: center;
}
.modal-content button {
  margin: 10px 20px;
  width: 150px;
  border: 1px solid lightgray;
}
.modal-text {
  font-size: 25px;
  letter-spacing: 0.5px;
}
.modal-content .modal-no {
  background: rgba(40, 40, 40, 1);
  box-shadow: none;
  font-weight: normal;
}
.modal-content .modal-yes:hover {
  background: #8c9ead;
}
.modal-content .modal-no:hover {
  background: rgba(255, 255, 255, 0.5);
  background: #606060;
}

.bold {
  font-weight: bold;
}
.align-right {
  text-align: right;
}
.hidden {
  display: none !important;
}
