body {
    background-color: #f8f9fa;
}
.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 20px;
}
.card-header {
    background-color: #f8f9fa;
}
.select2-container {
    width: 100% !important;
}

#visits-time-container {
    width: 100%;
    height: 400px;
    position: relative;
}

.card-body {
    padding: 1.25rem;
}

canvas {
    max-width: 100%;
}

/* Fleet Map Styles */
#fleet-map, #fullscreen-fleet-map {
    border-radius: 0.375rem;
}

.custom-ship-marker {
    background: transparent !important;
    border: none !important;
}

.ship-marker {
    transition: all 0.3s ease;
}

.ship-marker:hover {
    transform: scale(1.1) !important;
}

.ship-popup-content {
    font-size: 14px;
}

.ship-popup-content h6 {
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 8px;
    margin-bottom: 12px;
}

.leaflet-popup-content-wrapper {
    border-radius: 8px;
}

.leaflet-popup-tip {
    background: white;
}

/* Position link in table */
td a[onclick*="openMapForShip"] {
    cursor: pointer;
    transition: color 0.2s ease;
}

td a[onclick*="openMapForShip"]:hover {
    color: #0d6efd !important;
}

td a[onclick*="openMapForShip"]:hover i {
    color: #0d6efd !important;
}

/* Map container responsive height */
@media (max-width: 768px) {
    #fleet-map {
        height: 300px !important;
    }
}

/* Tab styling */
.nav-tabs .nav-link {
    color: #495057;
    font-weight: 500;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    color: #0d6efd;
    border-color: #e9ecef #e9ecef #dee2e6;
}

.nav-tabs .nav-link.active {
    color: #0d6efd;
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
    font-weight: 600;
}

.nav-tabs .nav-link i {
    font-size: 1.1em;
}

/* Tab content padding */
.tab-content {
    background-color: transparent;
}