

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f8fa;
    padding: 20px;
    color: #333;
}


.container {
    max-width: 1600px;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 25px;
}

.content-header {
    /*margin-bottom: 25px;*/
    padding-bottom: 15px;
    /*border-bottom: 1px solid #eaeaea;*/
}

.content-header h1 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 5px;
}

.content-header p {
    color: #7f8c8d;
    margin: 0;
}

.table-container {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    overflow: hidden;
    border: 1px solid #eaeaea;
    font-size: 14px;
}


#tb_stations {
    border: 1px solid #eaeaea !important;
}


.fixed-table-toolbar .columns {
    display: none;
}

.fixed-table-pagination {
    margin-top: 10px;
}

.bs-bars {
    width: 100%;
}

.columns {
    margin-left: 10px;
}

.toolbar-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.toolbar-buttons .btn {
    border-radius: 6px;
}

.table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

.table th {
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    font-weight: 600;
    color: #2c3e50;
    padding: 12px 15px;
    position: sticky;
    top: 0;
}

.table th:hover {
    background-color: #e9ecef;
}

.table td {
    /*padding: 10px 15px;*/
    vertical-align: middle;
    border-top: 1px solid #eaeaea;
}

.table-hover tbody tr:hover {
    background-color: rgba(52, 152, 219, 0.05);
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.02);
}

.table-striped tbody tr:last-child td {
    border-bottom: 1px solid #eaeaea;
}

.badge-confirmed {
    background-color: #00a65a;
    color: white;
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.badge-pending {
    background-color: #f39c12;
    color: white;
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.btn-action {
    margin-right: 5px;
    padding: 0.35rem 0.65rem;
    font-size: 0.875rem;
    border-radius: 4px;
}

.btn-sm i {
    font-size: 0.875rem;
}

.pagination-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.modal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #eaeaea;
}

.modal-title {
    color: #2c3e50;
    font-weight: 600;
}

.custom-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.left-toolbar, .right-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-toolbar .btn {
    border-radius: 6px;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.table-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
}

.table-title i {
    margin-right: 10px;
    color: #3498db;
}

.columns-dropdown-menu {
    padding: 10px;
    min-width: 200px;
}

.columns-dropdown-menu .form-check {
    margin-bottom: 5px;
}

.search-form-container {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 10px;
    border: 1px solid #eaeaea;
}

.search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: start;
}

.search-form > div {
    flex: 0 0 auto;
}

.input-group, .form-select {
    width: 200px;
    height: 35px;
}

.input-group input, .form-select select{
    height: 35px;
    width: 200px;
}

.date-range-group {
    display: flex;
    align-items: center;
    gap: 4px;
}

.date-input {
    width: 200px;
}

.date-separator {
    color: #6c757d;
    font-weight: bold;
    flex-shrink: 0;
}

.button-group {
    display: flex;
    gap: 10px;
}

.button-group .btn {
    width: 90px;
    height: 35px;
    white-space: nowrap;
    flex-shrink: 0;
}

.w201{
   margin-right: 1px;
}

.upload-area {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin: 20px 0;
    transition: all 0.3s;
    cursor: pointer;
}

.upload-area:hover, .upload-area.dragover {
    border-color: #3498db;
    background-color: #f8f9fa;
}

.upload-icon {
    font-size: 48px;
    color: #6c757d;
    margin-bottom: 15px;
}
.file-info {
    margin-top: 15px;
    font-size: 14px;
}
.progress {
    height: 8px;
    margin-top: 15px;
}
.result-alert {
    display: none;
}
.import-btn {
    position: relative;
}
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

.template-download {
    display: flex;
    align-items: center;
    justify-content: center;
    /*margin-bottom: 20px;*/
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 6px;
}

.template-download a {
    margin-left: 10px;
}


.detail-view .form-control, .detail-view .form-select {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    color: #6c757d;
    cursor: pointer;
}


/* 固定操作列样式 */
.fixed-table-container {
    position: relative;
}
.fixed-table-body td:last-child,
.fixed-table-body th:last-child {
    position: sticky;
    right: 0;
    background: white;
    z-index: 10;
    /*box-shadow: -2px 0 5px rgba(0,0,0,0.1);*/
}

/* 确保操作列有足够宽度 */
.fixed-table-body td:last-child {
    min-width: 245px;
    width: 245px;
}

/* 卡片视图下的操作按钮样式 */
.card-view .operate-buttons {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 10px;
}

.btn-outline-info {
    background-color: #0dcaf0 !important;
    color: #fff !important;
    border-color: #0dcaf0 !important;
}

.btn-outline-purple {
    background-color: #9c27b0 !important;
    color: #fff !important;
    border-color: #9c27b0 !important;
}

.btn-outline-success{
    background-color: #198754 !important;
    color: #fff !important;
    border-color: #198754 !important;
}

.btn-outline-primary{
    background-color: #0d6efd !important;
    color: #fff !important;
    border-color: #0d6efd !important;
}
.btn-outline-danger{
    background-color: #dc3545 !important;
    color: #fff !important;
    border-color: #dc3545 !important;
}

.btn-outline-dark{
    background-color: #6c757d !important;
    color: #fff !important;
    border-color: #6c757d !important;
}

.btn-operate-xs {
    padding: 3px 5px !important;
    font-size: 11px !important;
    border-radius: 3px !important;
    min-width: 50px !important;
    border-width: 1px !important;
    box-shadow: none !important;
}


.btn-outline-success.btn-operate-xs {
    min-width: 58px !important;
}