/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    overflow: auto;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
}

.container {
    display: flex;
    width: 100vw;
    height: 100vh;
}

/* 左侧导航栏样式 */
.sidebar {
    width: 240px;
    background-color: #20313d;
    color: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.logo {
    padding: 20px 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.logo h2 {
    font-size: 18px;
    font-weight: normal;
}

.logo::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-color: #00a0e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
}

.nav-menu {
    flex: 1;
    padding: 10px 0;
    overflow-y: auto;
}

.nav-menu ul li {
    padding: 12px 20px;
    display: flex;
    align-items: center;
}

.nav-menu ul li:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-menu ul li a {
    display: flex;
    align-items: center;
    color: #a0aab5;
    font-size: 14px;
    width: 100%;
}

.nav-menu ul li:first-child a {
    color: #00b7ff;
}

.nav-menu ul li a.active {
    color: #00b7ff;
}

.nav-menu ul li a.active .icon::before {
    background-color: #00b7ff;
}

.icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

/* 图标样式 */
.icon.adjust::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: #00b7ff;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z'/%3E%3C/svg%3E") no-repeat center center;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z'/%3E%3C/svg%3E") no-repeat center center;
}

.icon.terminal::before,
.icon.data::before,
.icon.merchant::before,
.icon.material::before,
.icon.business::before,
.icon.equipment::before,
.icon.service::before,
.icon.cooperation::before,
.icon.recruit::before,
.icon.p-recruit::before,
.icon.settings::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: #a0aab5;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 13h8V3H3v10zm0 8h8v-6H3v6zm10 0h8V11h-8v10zm0-18v6h8V3h-8z'/%3E%3C/svg%3E") no-repeat center center;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 13h8V3H3v10zm0 8h8v-6H3v6zm10 0h8V11h-8v10zm0-18v6h8V3h-8z'/%3E%3C/svg%3E") no-repeat center center;
}

.icon.settings::before {
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z'/%3E%3C/svg%3E") no-repeat center center;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z'/%3E%3C/svg%3E") no-repeat center center;
}

.sidebar-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
}

.sidebar-footer span {
    font-size: 12px;
    color: #a0aab5;
    display: flex;
    align-items: center;
}

.client-icon::before,
.notice-icon::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 5px;
    background-color: #a0aab5;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z'/%3E%3C/svg%3E") no-repeat center center;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z'/%3E%3C/svg%3E") no-repeat center center;
}

/* 主内容区域样式 */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #f5f5f5;
    position: relative;
    overflow: auto;
}

.top-bar {
    height: 60px;
    background-color: #fff;
    display: flex;
    align-items: center;
    padding: 0 20px;
    border-bottom: 1px solid #eee;
    justify-content: space-between;
}

.area-selector {
    display: flex;
    align-items: center;
}

.area-text {
    color: #2fb3ff;
    font-size: 14px;
    padding: 5px 10px;
    border: 1px solid #2fb3ff;
    border-radius: 3px;
    margin-right: 15px;
}

.area-info {
    font-size: 14px;
    color: #333;
    position: relative;
    padding-right: 30px;
}

.area-info::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-color: #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.merchant-info {
    font-size: 14px;
    color: #999;
}

/* 内容区域样式 */
.content {
    flex: 1;
    padding: 20px;
    display: flex;
    overflow: auto;
}

.filter-section {
    flex: 3;
    background-color: #fff;
    border-radius: 3px;
    margin-right: 10px;
    overflow: auto;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.manage-line {
    padding: 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    color: #333;
}

.dropdown {
    margin-left: 10px;
    padding: 5px 25px 5px 15px;
    border: 1px solid #ddd;
    border-radius: 3px;
    position: relative;
    cursor: pointer;
}

.dropdown-icon::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #666;
}

.filter-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    background-color: #f9f9f9;
}

.tab {
    padding: 15px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.tab.active {
    color: #2fb3ff;
    border-bottom: 2px solid #2fb3ff;
    background-color: #fff;
}

.list-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 5px;
    background-color: #2fb3ff;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 13h18v-2H3v2zm0 5h18v-2H3v2zm0-10h18V6H3v2z'/%3E%3C/svg%3E") no-repeat center center;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 13h18v-2H3v2zm0 5h18v-2H3v2zm0-10h18V6H3v2z'/%3E%3C/svg%3E") no-repeat center center;
}

.filter-headers {
    display: flex;
    padding: 10px 15px;
    background-color: #f9f9f9;
    border-bottom: 1px solid #eee;
}

.header-item {
    flex: 1;
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
}

.sort-icon {
    margin-left: 5px;
    display: inline-block;
    width: 12px;
    height: 12px;
    position: relative;
}

.sort-icon::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #666;
}

.rider-list {
    flex: 1;
    overflow: auto;
}

.rider-item {
    display: flex;
    padding: 15px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    align-items: center;
}

.rider-name {
    flex: 1;
    color: #333;
    font-weight: 500;
}

.rider-actions {
    flex: 1;
    display: flex;
}

.add-btn, .block-btn {
    width: 30px;
    height: 24px;
    margin-right: 5px;
    border-radius: 3px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-btn {
    background-color: #eee;
    color: #333;
}

.block-btn {
    background-color: #eee;
    color: #333;
}

.rider-status, .rider-distance, .rider-recommend {
    flex: 1;
    color: #999;
    text-align: center;
}

/* 右侧状态区域样式 */
.status-section {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.new-order {
    background-color: #fff;
    border-radius: 3px;
    padding: 15px;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.title {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.count {
    font-size: 14px;
    color: #999;
}

.status-info {
    flex: 1;
    background-color: #fff;
    border-radius: 3px;
    padding: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.status-title {
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.status-content {
    padding: 15px;
    color: #666;
    font-size: 14px;
    border-bottom: 1px dashed #eee;
}

.status-item {
    padding: 8px 12px;
    margin-bottom: 8px;
    background-color: #f9f9f9;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: 3px solid #2fb3ff;
}

.status-item:hover {
    background-color: #f0f0f0;
    transform: translateX(2px);
}

.status-item:last-child {
    margin-bottom: 0;
}

.status-buttons {
    padding: 15px;
    display: flex;
    justify-content: flex-end;
}

.refresh-btn, .status-buttons .add-btn {
    width: 30px;
    height: 24px;
    border-radius: 3px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
}

.refresh-btn {
    background-color: #2fb3ff;
    color: #fff;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background-color: #f5f5f5;
}

::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 3px;
} 