body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f6f9;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
.admin-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.error{
    color: red !important;
    background-color: #edd4d4 !important;
        border: 1px solid #e6c3c3 !important;
}

.admin-container h1 {
    margin-bottom: 20px;
    color: #333;
}

.admin-menu ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.admin-menu li {
    background-color: #e3e3e3;
    padding: 10px 15px;
    border-radius: 8px;
}

.admin-menu a {
    text-decoration: none;
    color: #222;
    font-weight: bold;
}

.admin-menu a:hover {
    color: #007bff;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table th,
table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

table th {
    background-color: #007bff;
    color: white;
}

.actions a {
    margin-right: 8px;
    text-decoration: none;
    color: #007bff;
}

.actions a:hover {
    text-decoration: underline;
}

button {
    padding: 6px 12px;
    border: none;
    background-color: #007bff;
    color: white;
    border-radius: 6px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}


.btn-back {
    display: inline-block;
    margin-bottom: 20px;
    padding: 10px 15px;
    background-color: #eee;
    color: #333;
    text-decoration: none;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn-back:hover {
    background-color: #ddd;
}

 .notification {
            background-color: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
            padding: 10px;
            margin-bottom: 15px;
            border-radius: 4px;
            opacity: 1;
            transition: opacity 1s ease-in-out;
        }

        .notification.hidden {
            opacity: 0;
        }


nav {
  padding: 10px;
  display: flex;
  justify-content: space-between;
}

nav a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
}


.training-card {
  background: white;
  padding: 20px;
  margin: 10px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.btn {
  background: #007bff;
  color: white;
  padding: 10px;
  text-decoration: none;
  border-radius: 5px;
}

.full {
  color: red;
  font-weight: bold;
}

.back-to-site {
    margin-bottom: 1rem;
}

.back-to-site .btn {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.back-to-site .btn:hover {
    background-color: #0056b3;
}

.trainings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.training-card {
    background: #f9f9f9;
    padding: 1rem;
    border-radius: 28px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.training-card h3 {
    margin-top: 0;
}

.training-card .btn {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 12px;
    background: #0055aa;
    color: white;
    text-decoration: none;
    border-radius: 8px;
}

.training-card .full {
    color: white;
    font-weight: bold;
}
.btn-green {
    background-color: #28a745; /* Zelená barva */
    color: white;
    /* Další styly, které chceš pro zelené tlačítko */
}

.btn-green:hover {
    background-color: #218838;
}

 .container {

            padding: 0 40px;
        }