html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #212A31;
    color: #D3D9D4;
    font-family: 'Fira Code', monospace;
}

.card {
    background-color: #2E3944;
    color: #D3D9D4;
    border-radius: 8px;
}

.card-header {
    border-bottom: 1px solid #5d7174;
}

.card-footer {
    border-top: 1px solid #5d7174;
}

.form-split {
    border-top: 1px solid #5d7174;
    margin-bottom: 15px;
}

.form-control {
    background-color: #5d7174;
    border: 0px;
    color: #D3D9D4;
}

.form-control:focus {
    background-color: #687f83;
    border-color: #687f83;
    color: #D3D9D4;
}

.form-control::placeholder {
    color: #D3D9D4;
    opacity: 0.5;
}


.btn-primary {
    background-color: #124E66;
    border: none;
}

.btn-primary:hover {
    background-color: #17627f;
}

.btn-primary:active,
.btn-primary:focus {
    background-color: #17627f !important;
    border-color: #17627f !important;
}

a {
    color: #D3D9D4;
}

a:hover {
    color: #9BA6AC;
}

.petrol-blue-bg {
    background-color: #124E66;
    border: 0px;
    color: #D3D9D4;
}

.navbar {
    background-color: #124E66 !important;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

.navbar-nav .dropdown-menu {
    right: 0;
    left: auto;
    text-align: right;
    background-color: #0d3a4b;
    border: none;
}

.dropdown-right {
    left: 0 !important;
    right: auto !important;
    text-align: left !important;
}

@media (min-width: 992px) {
    .navbar-collapse {
        display: block !important;
    }
}

@media (max-width: 991px) {
    #navbarNav {
        text-align: center;
    }

    .phone-border-top {
        border-top: 1px solid #D3D9D4;
    }

    .phone-border-bottom {
        border-bottom: 1px solid #D3D9D4;
    }
}

.dropdown-item {
    color: #D3D9D4;
}

.dropdown-item:hover,
.dropdown-item:active,
.dropdown-item:focus {
    background-color: #17627f;
    color: #ffffff;
}

.dropdown-item {
    padding: 10px 20px;
}

.navbar-brand,
.nav-link {
    color: #ffffff;
}

.nav-link:hover,
.nav-link:focus {
    color: #D3D9D4;
}

.navbar-toggler {
    border-color: #D3D9D4;
    color: #D3D9D4;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='https://bpb.ls-gov.eu/logo.svg' fill='%23ffffff' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.nav-link.active {
    font-weight: bold;
    color: #17627f !important;
}

.sidebar {
    width: 50px;
    top: 0;
    bottom: 0;
    left: 0;
    background-color: #0d3a4b;
    color: #D3D9D4;
    transition: width 0.3s;
    z-index: 1500;
}

.sidebar a {
    color: #D3D9D4;
    padding: 10px;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.sidebar a span {
    white-space: nowrap;
    overflow: hidden;
    transition: opacity 0.3s;
    opacity: 0;
}

.sidebar a i {
    min-width: 30px;
    text-align: center;
}

.sidebar.active {
    width: 200px;
}

.sidebar.active a span {
    opacity: 1;
}

.sidebar-toggle {
    top: 10px;
    left: 10px;
    cursor: pointer;
    background: none;
    border: none;
    color: #D3D9D4;
    font-size: 24px;
}

.sidebar a:hover {
    background-color: #17627f;
    color: #ffffff;
}

.sidebar-link {
    min-height: 45px;
}

.content {
    margin-left: 250px;
    padding: 20px;
}

footer {
    width: 100%;
    background-color: #124E66;
    color: #D3D9D4;
    padding: 0 0;
    border-top: 3px solid #17627f;
}

header {
    width: 100%;
    background-color: #124E66;
    color: #D3D9D4;
    padding: 0 0;
    border-bottom: 3px solid #17627f;
}

footer a {
    color: #D3D9D4;
    text-decoration: none;
}

footer a:hover {
    color: #9BA6AC;
}

.page-container {
    display: flex;
    flex-direction: row;
    height: calc(100% - 56px);
    min-height: 100vh;
    width: 100%;
}

.main-content {
    flex-grow: 1;
    padding: 20px;
}

#popupContainer {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.icon-width {
    width: 20px !important;
}

.icon {
    font-size: 18px;
    min-width: 20px;
}

/* Stylizace karty */
.card-custom {
    background-color: #0d3a4b;
    color: #D3D9D4;
    border-radius: 8px;
}

.card-custom .card-header {
    border-bottom: 1px solid #D3D9D4;
    background-color: #0d3a4b;
    color: #D3D9D4;
}

.card-custom .card-footer {
    border-top: 1px solid #D3D9D4;
    color: #D3D9D4;
}

/* Stylizace tabulky */
.table-custom {
    width: 100%;
    border-collapse: collapse;
    color: #D3D9D4;
    background-color: #0d3a4b;
}

.table-custom thead tr {
    background-color: #124E66;
}

.table-custom thead th {
    padding: 12px;
    text-align: left;
}

.table-custom tbody tr {
    background-color: #0b3342;
}

.table-custom tbody tr:nth-child(even) {
    background-color: #092c39;
}

.table-custom tbody td {
    padding: 12px;
}

.table-custom tbody tr:hover {
    background-color: #17627f;
    color: #ffffff;
}

.table-custom .no-results {
    color: #9BA6AC;
    text-align: center;
    padding: 12px;
}
