/*body {
  margin: 0;
  font-family: Arial, sans-serif;
  padding: 30px 20px;
  background: #f8f9fa;
}*/

h2 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: #007bff;
}

h2.reg {
  text-align: left;
}

.table-wrapper {
  overflow-x: auto;
}

td, th {
  vertical-align: middle;
}

.action-btn {
  display: inline-block;
  width: 100px;
  text-align: center;
  font-weight: normal;
  padding: 6px 8px;
  margin: 10px 5px 8px 0;
  border-radius: 4px;
  text-decoration: none;
  font-size: .9em;
}

.deactivate {
  background: #f0ad4e;
  color: white;
}

.reactivate {
  background: #5cb85c;
  color: white;
}

.delete {
  background: #d9534f;
  color: white;
}

.reg-date, .reg-time {
  display: inline-block;
  text-align: left;
  font-size: .9em;
}

.reg-time {
  margin-left: 8px;
  color: #555;
}

@media (max-width: 800px) {
  .reg-date, .reg-time {
    display: block;
    margin-left: 0;
  }

  .reg-time {
    margin-top: 5px;
  }

  .table-wrapper .action-btn {
    display: block;
    width: 100px;
    margin: 12px auto;
    text-align: center;
    font-weight: normal;
    padding: 6px 0;
    font-size: 1em;
  }
}

h2 {
  text-align: center;
  margin-bottom: 20px;
}

.container {
  max-width: 900px;
  margin: 3.5 auto;
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,.1);
}

label {
  font-weight: bold;
  display: block;
  margin-top: 15px;
}

input[type='text'], input[type='number'], input[type='file'] {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 15px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 16px;
  box-sizing: border-box;
}

.slider-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
}

.slider-container input[type='range'] {
  flex: 1;
}

.strength {
  font-weight: bold;
  margin-top: 5px;
}

.strength.strong {
  color: green;
}

.strength.verystrong {
  color: darkorange;
}

.strength.extreme {
  color: red;
}

button {
  display: block;
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  background: #007bff;
  color: white;
  cursor: pointer;
}

button:hover {
  background: #0056b3;
}

@media (max-width: 600px) {
  .slider-container {
    flex-direction: column;
    align-items: stretch;
  }
}
