/* Definice barev */
:root {
    --dark-green: #2d3a26;
    --olive-green: #3d5c3a;
    --army-green: #6a7d34;
    --light-olive: #9a9e6f;
    --khaki: #b0b57e;
}

#main-wrapper {
    transform: scale(0.9);
    transform-origin: top center;
    height: 111.11%;
    margin-bottom: -5%;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--khaki);
    color: var(--dark-green);
    margin: 0;
    padding: 0;
    overflow-y: scroll;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1;
    padding: 3rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}


/* Map style */
#map {
    height: 500px;
    width: 100%;
    border: 2px solid var(--army-green);
    border-radius: 8px;
    margin-top: 20px;
}

/* Styl pro navigační menu */
.navbar {
    background-color: var(--olive-green);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.navbar .navbar-brand {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.navbar .navbar-nav {
    margin-left: 0;
}

.navbar .navbar-nav .nav-link {
    color: white;
    margin-right: 1rem;
    font-weight: 600;
}

.navbar .navbar-nav .nav-link:hover {
    color: var(--army-green);
}

.navbar .navbar-nav.me-auto {
    margin-left: 0;
}

/* Tlačítka */
.btn {
    background-color: var(--army-green);
    color: white;
    font-weight: bold;
}

.btn:hover {
    background-color: var(--olive-green);
    color: white;
}

/* Styl pro jednotlivé sekce */
h1,
h2 {
    color: var(--dark-green);
    font-weight: bold;
}

.card {
    background-color: var(--light-olive);
    border: 1px solid var(--olive-green);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

/* Formuláře */
.form-control {
    border: 1px solid var(--olive-green);
    background-color: white;
    color: var(--dark-green);
}

.form-control:focus {
    border-color: var(--army-green);
    box-shadow: 0 0 0 0.2rem rgba(106, 125, 52, 0.25);
}

/* Footer */
footer {
    background-color: var(--olive-green);
    padding: 1rem;
    color: white;
    text-align: center;
    margin-top: auto;
    font-size: 13px;
}

/* Další drobné úpravy */
.navbar-toggler-icon {
    background-color: white;
}

.table-dark {
    width: 100%;
    border-collapse: collapse;
    background-color: #2d2d2d;
    color: #f1f1f1;
    margin-top: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.table-dark thead {
    background-color: var(--olive-green);
    color: white;
    text-transform: uppercase;
    font-weight: bold;
}

.table-dark th,
.table-dark td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #444;
    border-right: 1px solid #444;
}

.table-dark th:last-child,
.table-dark td:last-child {
    border-right: none;
}

.table-dark tr:hover {
    background-color: #3d3d3d;
}

.table-dark td button {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.table-dark td .btn-info:hover {
    background-color: var(--khaki);
}

.table-dark td .btn-primary {
    background-color: var(--army-green);
    color: white;
}

.table-dark td .btn-primary:hover {
    background-color: var(--olive-green);
}

.btn-blue {
    background-color: #0d6efd;
    color: white;
    border: none;
}

.btn-blue:hover {
    background-color: #0b5ed7;
}

.btn-red {
    background-color: #dc3545;
    color: white;
    border: none;
}

.btn-red:hover {
    background-color: #bb2d3b;
}

.btn-green {
    background-color: #198754;
    color: white;
    border: none;
}

.btn-green:hover {
    background-color: #157347;
}


/* Kalendář */
#calendar {
    background-color: #2d2d2d;
    border: 1px solid #3d3d3d;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
    color: #f1f1f1;
    width: 900px;
    margin: 0 auto;
    font-size: 14px;
}

#calendar-legend {
    max-width: 900px;
    margin: 1rem auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-start;
}


.fc .fc-toolbar-title {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fc .fc-button {
    background-color: #3d5c3a;
    border: none;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8rem;
    padding: 5px 10px;
}

.fc .fc-button:hover {
    background-color: #6a7d34;
}

.fc .fc-col-header-cell-cushion {
    font-weight: bold;
    color: #ccc;
    font-size: 0.8rem;
}

.fc .fc-daygrid-day-number {
    color: #cfcfcf;
    font-weight: 500;
    font-size: 0.8rem;
}

.fc .fc-event {
    background-color: #6a7d34;
    color: white;
    font-weight: 600;
    padding: 4px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    transition: background-color 0.2s;
}

.fc .fc-event:hover {
    background-color: #8ca74f;
    cursor: pointer;
}

.fc-scrollgrid {
    border-color: #444;
}

.fc a {
    text-decoration: none;
    color: inherit;
}

.fc .fc-list {
    background-color: #2d2d2d;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    font-size: 0.9rem;
    color: #f1f1f1;
}

.fc .fc-list-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
}

.fc .fc-list-day-cushion {
    background-color: var(--olive-green);
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    padding: 12px 16px;
    font-size: 0.9rem;
}

.fc .fc-list-event {
    background-color: #2d2d2d;
    border-bottom: 1px solid #444;
    transition: background-color 0.2s;
}

.fc .fc-list-event:hover {
    background-color: transparent !important;
    cursor: pointer;
}

.fc .fc-list-event:hover td {
    background-color: #3d3d3d !important;
    transition: background-color 0.2s ease;
}

.fc .fc-list-event-time {
    color: #cfcfcf;
    font-weight: bold;
    padding: 12px 16px;
    width: 120px;
    white-space: nowrap;
    border-right: 1px solid #444;
    font-size: 0.8rem;
}

.fc .fc-list-event-title {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 12px 16px;
}

.fc .fc-list-event-title a {
    color: var(--khaki);
    text-decoration: none;
    font-weight: bold;
}

.fc .fc-list-event-title a:hover {
    color: white;
}

/* Barvy pro události v kalendáři */
.fc-event.klasika {
    background-color: #4caf50;
}

.fc-event.cqb {
    background-color: #2196f3;
}

.fc-event.milsim {
    background-color: #f44336;
}

.fc-event.larp {
    background-color: #9c27b0;
}

.fc-event.turnaj {
    background-color: #ff9800;
}

.fc-event.trenink {
    background-color: #607d8b;
}

/* Barvy pro legendu */
.badge.klasika {
    background-color: #4caf50;
}

.badge.cqb {
    background-color: #2196f3;
}

.badge.milsim {
    background-color: #f44336;
}

.badge.larp {
    background-color: #9c27b0;
}

.badge.turnaj {
    background-color: #ff9800;
}

.badge.trenink {
    background-color: #607d8b;
}



a img {
    text-decoration: none;
    border: none;
}

a {
    text-decoration: none;
}