* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
}

body {
  font-family: verdana, arial, helvetica, sans-serif;
  font-size: 10pt;
  background-color: rgb(234, 235, 225);
}

.header {
  background-color: #213858;
  color: white;
  padding: 20px;
  text-align: center;
}

.error-bar {
  background-color: #213858;
  color: white;
  padding: 5px;
  text-align: center;
}


.error-bar-ok {
  background-color: green;
  color: white;
  padding: 5px;
  text-align: center;
}

.error-bar-ko {
  background-color: red;
  color: white;
  padding: 5px;
  text-align: center;
}


.header img {
  max-height: 50px;
  margin-bottom: 10px;
}

.header-title {
  color: white;
  font-size: 17px;
  font-weight: bold;
}

.content {
  padding: 30px;
  max-width: 900px;
  margin: 0 auto;
}

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

.drop-zone {
  background-color: #dfded6;
  border: 2px solid #788180;
  border-radius: 6px;
  padding: 30px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 15px;
  color: #213858;
  font-family: sans-serif;
  display: block;
  width: 100%;
}

.drop-zone:hover {
  background-color: #e2e6ea;
  border-color: #0056b3;
}

.drop-zone.drag-over {
  background-color: #e2e6ea;
  border-color: #0056b3;
}

#file-input {
  display: none;
}

#preview {
  max-width: 100%;
  max-height: 300px;
  margin: 20px 0;
  display: none;
  border: 1px solid #788180;
  border-radius: 6px;
}

.button-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  background-color: #dfded6;
  border: 1px solid #788180;
  border-radius: 6px;
  padding: 10px 20px;
  font-size: 14px;
  cursor: pointer;
  font-family: sans-serif;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn:hover {
  background-color: #213858;
  color: white;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#submit-btn {
  display: none;
  font-weight: bold;
}

#submit-btn-visible {
  font-weight: bold;
}

.paste-hint {
  font-size: 12px;
  color: #555;
  margin-top: 10px;
  text-align: center;
}

.results-container {
  background-color: white;
  border: 1px solid #788180;
  border-radius: 8px;
  padding: 20px;
  margin-top: 30px;
}

.results-title {
  color: #213858;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #dfded6;
}

.result-group {
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 15px;
  align-items: center;
}

.result-label {
  color: #213858;
  font-family: sans-serif;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  padding-right: 10px;
}

.result-value-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.result-input {
  background-color: #dfded6;
  border: 1px solid #788180;
  border-radius: 4px;
  padding: 8px 12px;
  font-family: sans-serif;
  font-size: 13px;
  color: #213858;
  min-width: 100px;
  flex: 1;
  min-height: 34px;
}

.result-input:read-only {
  cursor: default;
}

.copy-btn {
  background-color: #dfded6;
  border: 1px solid #788180;
  border-radius: 4px;
  padding: 6px 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
}

.copy-btn:hover {
  background-color: #213858;
}

.copy-btn img {
  width: 12px;
  height: 12px;
}

.account-number {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.account-separator {
  color: #213858;
  font-weight: bold;
}

.account-bank-code {
  display: flex;
  align-items: center;
  gap: 6px;
}

.account-full {
  color: #999;
  font-size: 12px;
  margin-left: 10px;
}

.divider {
  border-top: 1px solid #dfded6;
  margin: 20px 0;
}

.checkbox-group {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 15px;
  align-items: center;
}

.checkbox-input {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #213858;
}

/* Responzivní mřížka pro odkazy v rámečcích */
.links-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 600px;
}

/* Stylování odkazů jako tlačítek v rámečcích */
.card-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #dfded6;
    color: #213858;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 25px 20px;
    border: 2px solid #213858;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease-in-out;
}



/* Hover efekty pro moderní interaktivitu */
.card-link:hover, .card-link:focus {
    background-color: #213858;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 56, 88, 0.2);
    outline: none;
}

.card-link:active {
    transform: translateY(0);
}

/* Kontejner pro hlavní obsah webu */
.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}



@media (max-width: 768px) {
  .content {
    padding: 20px;
  }
  
  .drop-zone {
    padding: 20px;
    font-size: 13px;
  }
  
  .button-group {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    padding: 12px 15px;
  }

  .results-container {
    padding: 15px;
  }
  
  .result-group,
  .checkbox-group {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .result-label {
    font-size: 13px;
    padding-right: 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #e0e0e0;
  }
  
  .result-value-wrapper {
    gap: 6px;
  }
  
  .result-input {
    min-width: 80px;
    font-size: 12px;
    padding: 6px 10px;
  }
  
  .account-number {
    gap: 4px;
  }
  
  .account-separator {
    font-size: 12px;
  }
  
  .account-full {
    display: none;
  }
  
  .copy-btn {
    min-width: 30px;
    height: 30px;
    padding: 4px 6px;
  }


    .links-grid {
        flex-direction: row;
    }
    .card-link {
        flex: 1;
        min-height: 100px;
    }

}




