
/* Kontejner */
.login-wrapper {
  width: 100%;
  margin:auto;
  max-width: 420px;
  padding: 20px;
}

/* Box formuláře */
.login-box {
  background-color: #ffffffee;
  border-radius: 12px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.15);
  padding: 40px 35px;
  text-align: center;
}

h1 {
  color: #2c3e50;
  margin-bottom: 25px;
  font-weight: 600;
}

/* Vstupy */
.form-group {
  text-align: left;
  margin-bottom: 20px;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #2c3e50;
}

input[type="text"],
input[type="password"] {
  width: 90%;
  padding: 10px 12px;
  border: 1px solid #ccd1d9;
  border-radius: 6px;
  font-size: 15px;
  transition: border-color 0.2s ease;
}

input:focus {
  border-color: #2980b9;
  outline: none;
}

/* Tlačítko */
button {
  background: linear-gradient(135deg, #2980b9, #3498db);
  color: white;
  border: none;
  padding: 12px 0;
  width: 100%;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.1s ease;
}

button:hover {
  background: linear-gradient(135deg, #3498db, #5dade2);
  transform: translateY(-2px);
}

button:active {
  transform: translateY(0);
}

/* Responsivita */
@media (max-width: 480px) {
  .login-box {
    padding: 30px 20px;
  }
}

.error{
	color: red;
	font-weight: bold;
	margin-bottom: 15px;
}

.weekend{
	background-color: #DDE6E1;
	color: #2C3E50;
}

.access{
	font-size: 10px;
	max-width: 100% !important;
}

.access td.time, .access th{
	text-align: center;
}

.access td.time a{
	text-decoration: none;
	color: #0000ff;
}

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

#dateselector select{
	font-size: 15px;
	padding: 5px;
}

/* === Tabulka editace docházky === */

.access input[type="time"] {
  width: 90%;
  padding: 6px 8px;
  border: 1px solid #ccd1d9;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  background-color: #fafafa;
}

.access input[type="time"]:focus {
  border-color: #2980b9;
  background-color: #f0f8ff;
  outline: none;
}

.access button.delete-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2em;
  transition: transform 0.1s ease, color 0.2s ease;
}

.access button.delete-btn:hover {
  transform: scale(1.2);
  color: #e74c3c;
}

tr.deleted {
  opacity: 0.6;
  background-color: #f9e6e6;
}

button[type="submit"] {
  background: linear-gradient(135deg, #2980b9, #3498db);
  color: white;
  border: none;
  padding: 12px 0;
  width: 60%;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.1s ease;
}

button[type="submit"]:hover {
  background: linear-gradient(135deg, #3498db, #5dade2);
  transform: translateY(-2px);
}

button[type="submit"]:active {
  transform: translateY(0);
}


body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    padding: 20px;
    margin: auto;
}

h1 {
    text-align: center;
    color: #2c3e50;
}

.table-container {
	max-width: 800px;
	margin:auto;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #2c3e50;
    color: white;
}

tr:hover {
    background-color: #f1f1f1;
}

#basic-login{
	position: absolute	;
	right: 5%;
}

#basic-login a {
	text-decoration: none;
	color: #2c3e50	;
} 


