@charset "utf-8";
/* CSS Document */

body {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 700;
}

a {
    text-decoration: none !important;
}

.shadow-card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 1%);
}

.reverse-table-striped tbody tr:nth-of-type(even) {
    background-color: rgba(0,0,0,.05);
}

input, select, textarea, button {
    font-size: 14px !important;
}

.overdue {
    color: red;
}

.project-container {
    margin-bottom: 0;
    padding: 0 5px;
    min-width: 378px;
}

.trip-card {
    margin-bottom: 0;
    padding: 0;
}

.no-hover-effect {
    pointer-events: none;
}

.card-header {
    background-color: #343a40;
    color: #fff;
    text-align: center;
    transition: background-color 0.3s;
}

.card-header h3, .card-header a, .card-header .card-title {
    margin: 0;
}

.card-title a {
    color: #fff;
}

.card-body {
    padding-bottom: 15px;
}

.card-title a:hover {
    color: #ddd;
}

.card-header-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card-header-link:hover .card-header, .card-header:hover, .card-header:focus {
    background-color: #007bff;
}

.list-group-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px;
}

.list-group-item:nth-child(even) {
    background-color: #f7f7f7;
}

.menu-section {
    background-color: rgba(255,255,255,0.5);
}

#searchInput, #filterSelect {
    max-width: 300px;
}

.pagination .page-item .btn {
    border-radius: 0.25rem;
}

.btn-create-project {
    background-color: #343a40;
    color: white;
    transition: background-color 0.3s;
}

.btn-create-project:hover {
    background-color: #007bff;
    color: white;
}

.device-number {
    flex: 0 0 30px;
    text-align: right;
}

.device-name, .device-user {
    flex-grow: 1;
    text-align: left;
    margin-left: 10px;
}

.device-model {
    flex: 0 1 auto;
    text-align: right;
    margin-right: 5px;
}

.no-devices {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
}

#alertBox {
    position: fixed;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: auto;
    max-width: 80%;
}

.highlighted .card-header {
    background-color: #ffc107;
    color: #343a40;
    font-weight: 700;
}

.custom-select-style {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    color: #495057;
    height: calc(36px);
    background-color: #fff;
}

.custom-select-style:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.custom-select-style option {
    background: #fff;
    color: #495057;
}

.table {
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: .25rem;
    overflow: hidden;
}

.thead-dark th {
    background-color: #343a40;
    color: white;
    text-align: center;
    border: none;
}

.table-hover tbody tr:hover {
    background-color: rgba(0,0,0,.025);
}

.table td, .table th {
    text-align: center;
    padding: .5rem;
    margin: 0;
}

.table tr {
    padding: 0;
    margin: 0;
}

.table a {
    padding: 0 5px 0 5px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
}

.table tbody tr.highlighted2 {
    background-image: linear-gradient(to bottom, rgba(0, 122, 253, 0.1), rgba(0, 122, 253, 0.05));
}

.btn-link {
    color: #007bff;
    text-decoration: none;
}

.btn-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.delete-trip-btn {
    position: absolute; /* Ustawia przycisk względem karty */
    top: 5px; /* Odległość od górnej krawędzi karty */
    left: 5px; /* Odległość od prawej krawędzi karty */
    scale: 75%;
}

.trip-card {
    position: relative; /* Umożliwia pozycjonowanie absolutne dla przycisku */
}

.details-table th,
.details-table td {
    text-align: left; /* Wyrównanie tekstu do lewej */
    padding-left: 15px;
}

.table tbody tr.highlighted {
    background-image: linear-gradient(to bottom, rgba(255, 200, 0, 0.5), rgba(255, 200, 0, 0.4));
}

.modal-dialog-centered {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh; /* Minimalna wysokość, aby zapewnić wyśrodkowanie na całej wysokości */
}
