
/* NE a body legyen flex-konténer, mert szétesik a header/nav! */
body {
  background-color: #000;
  color: silver;
  margin: 0;
}

/* Ha kell középre igazítás, azt helyi konténereken kezeld: */
.center-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg {
    background-color: #15172b;
    border-radius: 20px;
    box-sizing: border-box;
    padding: 20px;
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    
}
.title {
  color: #eee;
  font-family: sans-serif;
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  margin-top: 5px;
}
.small {
	color: white;
	font-family: sans-serif;
    font-size: 14px;
	text-align: center;
}
.form {
  background-color: #15172b;
  border-radius: 20px;
  box-sizing: border-box;
  padding: 20px;
  max-width: 900px; /* Maximális szélesség */
  width: 100%; /* Teljes szélesség elfoglalása */
  text-align: left;
}
.input-container {
  height: 50px;
  position: relative;
  width: 100%;
  margin-bottom: 20px;
  padding: 5px;
}
.input {
  background-color: #303245;
  border-radius: 12px;
  border: 0;
  box-sizing: border-box;
  color: #eee;
  font-size: 14px;
  height: 100%;
  outline: 0;
  padding: 4px 20px 0;
  width: 100%;
}
.cut {
  background-color: #15172b;
  border-radius: 10px;
  height: 20px;
  left: 20px;
  position: absolute;
  top: -20px;
  transform: translateY(0);
  transition: transform 200ms;
  width: calc(100% - 40px); /* Teljes szélesség mínusz padding */
}
.cut-short {
  width: calc(100% - 70px); /* Teljes szélesség mínusz padding */
}
.placeholder {
  color: #65657b;
  font-family: sans-serif;
  font-size: 12px;
  left: 20px;
  line-height: 10px;
  pointer-events: none;
  position: absolute;
  transform-origin: 0 25%;
  transition: transform 200ms, color 200ms;
  top: 20px;
}
.input:focus ~ .placeholder,
.input:not(:placeholder-shown) ~ .placeholder {
  transform: translateY(-30px) translateX(10px) scale(0.75);
}
.input:not(:placeholder-shown) ~ .placeholder {
  color: #808097;
}
.input:focus ~ .placeholder {
  color: #dc2f55;
}
.submit {
  background-color: #08d;
  border-radius: 12px;
  border: 0;
  box-sizing: border-box;
  color: #eee;
  cursor: pointer;
  font-size: 16px;
  height: 40px;
  margin-top: 20px;
  width: 100%;
}
.submit:active {
  background-color: #06b;
}
table {
    border-collapse: collapse;
    width: 700px;
    margin: 5px auto;
    min-width: 700px;
    max-width: 90%;
}
th, td {
    border: 1px solid black;
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
} 
td {
    text-align: left;
}
#countdown, #refresh {
    text-align: center;
}
#countdown {
    margin-top: 20px;
    font-size: 20px;
    padding: 10px 0;
}
#underline {
    border-bottom: 1px solid black;
}
.file-sharing {
    text-align: center;
}
.file-sharing table {
    border-collapse: collapse;
    width: 700px;
    margin: 20px auto;
    min-width: 700px;
    max-width: 90%;
}
.file-sharing th, .file-sharing td {
    border: 1px solid black;
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
}
.file-sharing th {
    text-align: center;
}
.file-sharing td {
    text-align: left;
}
.file-sharing td:last-child {
    text-align: center;
}
.file-sharing .download-button {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
}
.file-sharing .back-button {
    background-color: #2196F3; /* Kék szín */
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
}
.file-sharing .folder-button {
    background-color: yellow; /* Sárga háttér */
    border: none;
    color: black;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
}
.file-sharing .dir-size {
    text-align: center;
}
table.webview, .webview {
	width: 100%;
	border: 1px solid black;
    border-collapse: collapse;
    margin: 5px auto;
}
.webview th, .webview td {
    border: 1px solid black;
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
}
.webview td {
	border: 1px solid black;
    text-align: left;
}
.image-preview-button {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 5px 10px; /* Módosított padding a gomb kisebb méretéhez */
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 80%; /* Arányos méret az alapértelmezett betűmérethez */
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
}
.success {
	color: green;
	font-weight: bold;
}
.error {
	color: red;
	font-weight: bold;
}
.requirement {
    padding-left: 10px;
    margin-bottom: 5px;
}
.feedback {
	font-size: 16px;
	text-align: center;
	margin-top: 10px;
}
.icon-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.icon-container ul {
    padding-left: 0;
}
.icon-container li {
    list-style-type: none;
    margin-bottom: 5px;
}
.progress-bar {
            height: 10px;
}