
/* 主容器 */
.main-container {
    background-color: #EFEFEF;
   /* min-height: 100vh;*/
    padding: 20px 0;
    display: flex;
    justify-content: center;
}

/* 内容容器 */
.content-container {
    width: 1200px;
    display: flex;
    gap: 20px; /* 左右容器间距 */
}

/* 左侧导航 */
.left-sidebar {
    width: 15%;
    margin-top: 100px;
}

.navigation {
    background-color: white;
    padding: 30px 15px 15px 15px;
    border-radius: 5px;
}

.navigation .nav-link {
    text-decoration: none;
    color: inherit;
    display: block;
    margin-bottom: 20px;
    line-height: 1;
}

.navigation .nav-link:hover {
    color: #0066cc;
}

.navigation .nav-link.active {
    color: #0066cc;
    position: relative;
}

.navigation .nav-link.active::before {
    content: "";
    position: absolute;
    left: -15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: #0066cc;
}

/* 右侧内容 */
.right-content {
    flex: 1;
    padding: 20px;
    border-radius: 5px;
}

.title {
    text-align: center;
    margin-bottom: 20px;
}

/* 表单样式 */
.form-container {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    margin-top: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.agreement-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.checkbox {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.checkbox input {
    width: auto;
}

/* 新增表单样式 */
.form-row {
    display: flex;
    gap: 10px;
}

.form-row .form-group {
    flex: 1;
}

/* 桌面端特殊布局 */
@media (min-width: 769px) {
    .dispatch-destination-row {
        display: flex;
        gap: 10px;
    }
    
    .dispatch-destination-row .form-group {
        flex: 1;
    }
    
    .weight-dimensions-row {
        display: flex;
        gap: 10px;
    }
    
    .weight-dimensions-row {
        display: flex;
        gap: 5px;
    }
    
    .weight-dimensions-row .form-group:first-child {
        flex: 0.5;
        min-width: 120px;
    }
    
    .weight-dimensions-row .form-row {
        flex: 1.5;
        display: flex;
        gap: 5px;
		min-width: 78px;
    }
    
    .weight-dimensions-row .form-row .form-group {
        flex: 1;
        min-width: 80px;
    }
    
    .phone-captcha-row {
        display: flex;
        gap: 10px;
    }
    
    .phone-captcha-row .form-group {
        flex: 1;
    }
    
    .form-buttons {
        display: flex;
        gap: 10px;
    }
    
    .form-buttons button {
        flex: 1;
    }
}

select {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
}

.captcha-row {
    display: flex;
    gap: 10px;
}

.captcha-row input {
    flex: 1;
}

.captcha-btn {
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 10px;
    cursor: pointer;
    white-space: nowrap;
}

.captcha-btn:hover {
    background-color: #e0e0e0;
}

.submit-btn {
    background-color: #0066cc;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.submit-btn:hover {
    background-color: #0055aa;
}

/* 按钮组样式 */
.form-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.reset-btn {
    background-color: #f0f0f0;
    color: #333;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.reset-btn:hover {
    background-color: #e0e0e0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .content-container {
        width: 100%;
        flex-direction: column;
        padding: 0 15px;
    }

    .left-sidebar {
        width: 100%;
        margin-bottom: 15px;
        margin-top: 10px;
    }
    
    .form-container {
        margin-top: 20px;
        padding: 15px;
    }

    .form-row {
        flex-direction: column;
        gap: 15px;
    }
}