    @charset "utf-8";
	 /* 基于前文推荐的配色方案 */
        :root {
            --primary-blue: #2A3F54;
            --primary-green: #1E5631;
            --accent-orange: #FF6B35;
            --light-gray: #F5F5F5;
            --success-green: #4CAF50;
            --error-red: #D32F2F;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Arial, sans-serif;
        }

        /* 导航栏 */
        .navbar {
            background: var(--primary-blue);
            padding: 1rem;
            color: white;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

       
        .nav-links a {
            color: white;
            text-decoration: none;
            margin-left: 2rem;
            transition: color 0.3s;
        }

        .nav-links a:hover {
            color: var(--accent-orange);
        }

        /* 首屏Banner */
        .hero {
            background: linear-gradient(rgba(42,63,84,0.8), rgba(42,63,84,0.8)),
                        url('driver-banner.jpg') center/cover;
            height: 60vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: white;
            padding: 2rem;
        }

        .hero h1 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        /* 服务优势板块 */
        .features {
            padding: 4rem 2rem;
            background: var(--light-gray);
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .feature-card {
            background: white;
            padding: 2rem;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            text-align: center;
        }

        .feature-icon {
            font-size: 2.5rem;
            color: var(--primary-green);
            margin-bottom: 1rem;
        }

        /* 司机展示 */
        .drivers {
            padding: 10px;
        }

        .driver-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            max-width: 1200px;
            margin: 80px auto 0 auto;
        }

        .driver-card {
            border: 1px solid #ddd;
            border-radius: 8px;
            overflow: hidden;
            transition: transform 0.3s;
			margin: 5px 0;
        }
		.driver-card a{}
        .driver-card:hover {
            transform: translateY(-5px);
        }

        .driver-img {
            width: 100%;
            height: 250px;
            object-fit: cover;
        }

        .driver-info {
            padding: 1.5rem;
        }

        .driver-rating {
            color: var(--accent-orange);
            font-weight: bold;
        }

      
.tip{font-style: normal;font-weight: normal;margin-left: 10px;font-size:14px}
        /* 响应式设计 */
        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }
            .hero h1 {
                font-size: 2rem;
            }
        }
		.comment-form {
		    background: white;
		    padding: 1rem;
		    border-radius: 10px;
		    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
		    margin-bottom: 2rem;
		}
		
		.form-group {
		    margin-bottom: .8rem;
			padding-bottom: 5px;
		}
		
		input, textarea,select {
		   width: 100%;
		       padding: 0.7rem 0 0.7rem 0;
		       border: 1px solid #ddd;
		       border-radius: 5px;
		       font-size: 14px;
		       text-indent: 1rem;
		}
		
		.comment-list {
		    margin-top: 2rem;
			width: 100%;
			display: block;
			height:150px;
		}
		
		.comment-card {
		   padding: 0;
		    border-radius: 8px;
		    margin-bottom: 1.5rem;
			height: 130px;
		    box-shadow: 5px 5px 6px 2px rgb(0 0 0 / 6%);
		}
		
		.comment-meta {
		    display: flex;
		    align-items: center;
		    gap: 1rem;
		    margin-bottom: 1rem;
		}
		
		.user-avatar {
		    width: 40px;
		    height: 40px;
		    border-radius: 50%;
		    background: var(--primary-blue);
		    color: white;
		    display: flex;
		    align-items: center;
		    justify-content: center;
		}
		.form-group label{    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;}
		/* 响应式优化 */
		@media (max-width: 768px) {
		    .driver-header {
		        justify-content: center;
		        text-align: center;
		    }
		    
		    .driver-stats {
		        grid-template-columns: 1fr;
		    }
		}
		  /* 响应式增强样式 */
		  :root {
		    --primary-blue: #2A3F54;
		    --accent-orange: #FF6B35;
		    --light-gray: #F5F5F5;
		}
		
		/* 汉堡菜单 */
		.hamburger {
		    display: none;
		    cursor: pointer;
		    padding: 0.5rem;
		}
		
		.hamburger .line {
		    width: 25px;
		    height: 2px;
		    background: white;
		    margin: 5px 0;
		    transition: all 0.3s;
		}
		
		/* 移动端导航 */
		@media (max-width: 768px) {
		    .hamburger {
		        display: block;
		    }
		
		    .nav-links {
		        display: none;
		        width: 100%;
		        position: absolute;
		        top: 100%;
		        left: 0;
		        background: var(--primary-blue);
		        padding: 1rem;
		        flex-direction: column;
		    }
		
		    .nav-links.active {
		        display: flex;
		    }
		
		    .nav-links a {
		        margin: 0.5rem 0;
		        padding: 0.8rem;
		        background: rgba(255,255,255,0.1);
		        border-radius: 5px;
		    }
		}
		
		/* 响应式司机詳細 */
		.driver-header {
		    flex-direction: column;
		    text-align: center;
		    padding: 0rem 1rem 2rem 1rem;
		    gap: 1.5rem;
		}
		
		.driver-avatar {
		    width: 150px;
		    height: 150px;
		}
		
		/* 自适应数据看板 */
		.driver-stats {
		    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
		    padding: 1.5rem;
		    gap: 1rem;
		    margin: 0 1rem;
		}
		
		.stat-value {
		    font-size: 1.5rem;
		}
		
		/* 移动端留言板优化 */
		.comment-section {
		    padding: 0 10px;
			max-width: 1200px;
			margin: 0 auto;
			box-shadow:none
		}
		
		.comment-form {
		    padding:.5rem ;box-shadow:none
		}
		
		/* 通用响应式调整 */
		@media (max-width: 480px) {
		    .hero h1 {
		        font-size: 1.8rem;
		    }
		
		    .cta-button {
		       padding: 0.8rem 1.5rem;
		           font-size: 1rem;
		           background: #ff6b35;
		           border: none;
		           color: #ffff;
		           border-radius: 5px;
		    }
		
		    .driver-avatar {
		        width: 120px;
		        height: 120px;
		    }
		
		    .stat-value {
		        font-size: 1.2rem;
		    }
		}
         /* 预约车辆弹窗相关样式 */
/* 移除弹窗相关样式，仅保留表单页面样式 */
/* .overlay, .modal, .modal-header, .modal-body, .modal-footer, .success-message 样式可删除或合并到表单样式 */
.reservation-section {
    max-width: 640px;
    margin: 40px auto 30px auto;
    background: #fff;
    border-radius: 12px;
   
    padding: 0;
    position: relative;
    animation: modalIn 0.3s;
}
@keyframes modalIn {
    from { transform: translateY(40px) scale(0.98); opacity: 0; }
    to { transform: none; opacity: 1; }
}
.reservation-section form {
    padding: .2rem 1.5rem 0.5rem 1.5rem;
}
.reservation-section h2 {
    font-size: 1.2rem;
    margin: 0 0 1.2rem 0;
    text-align: left;
    padding-top: 1.2rem;
    padding-left: 1.5rem;
}
.select-car {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}
.car-option {
    border: 2px solid #eee;
    border-radius: 8px;
    padding: 0.5rem;
    cursor: pointer;
    text-align: center;
    transition: border 0.2s, background 0.2s, box-shadow 0.2s, color 0.2s;
    background: #fafafa;
    width: 31%;
    box-shadow: none;
    color: #333;
    font-weight: 400;
}
.car-option.active, .car-option.selected {
    border: 2.5px solid var(--accent-orange);
    background: #fff;
    box-shadow: 0 2px 12px 0 rgba(255,107,53,0.10);
    color: var(--accent-orange);
    font-weight: 600;
    position: relative;
}
.car-option.active::after, .car-option.selected::after {
    content: "\2714";
    position: absolute;
    top: 6px;
    right: 10px;
    color: var(--accent-orange);
    font-size: 1.1rem;
    font-weight: bold;
    background: #fff7f2;
    border-radius: 50%;
    padding: 0 2px;
}
.car-icon {
    margin-bottom: 0;
}
.car-name {
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 5px;
}
.car-detail {
    font-size: 0.85rem;
    color: #888;
}
.error-message {
    color: var(--error-red);
    font-size: 0.9rem;
    margin-top: 0.2rem;
    display: none;
}
.form-group.invalid .error-message {
    display: block;
}
.form-group.invalid input,
.form-group.invalid textarea {
    border-color: var(--error-red);
}
.modal-footer {
    padding: 1rem 0 1.5rem 0;
    text-align: right;
}
.btn.btn-submit {
    background: var(--accent-orange);
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}
.btn.btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}
.success-message {
    position: static;
    margin: 20px auto 0 auto;
    background: var(--success-green);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 400px;
}
.success-message.show {
    opacity: 1;
    pointer-events: auto;
}
@media (max-width: 600px) {
    .reservation-section {
        max-width: 98vw;
        margin: 10px auto;
        border-radius: 8px;
    }
    .reservation-section form {
        padding: 0 0.5rem 0.5rem 0.5rem;
    }
    .reservation-section h2 {
        padding-left: 0.5rem;
        padding-top: 1rem;
    }
}

	
		.cta-button {
		    background: #3b5b7b;
		    color: white;
		    padding: 15px ;
		    border: none;
		    border-radius: 5px;
		    cursor: pointer;
			margin-top: 20px;
			max-width: 640px;
			margin-left: 0;
		    font-size: 1.1rem;
		    transition: background 0.3s;
			width: 100%;
			            margin: 0 auto;
		}
		
		.cta-button:hover {
		    background: #FF4500;
		}
	        /* 添加响应式设计 */
	        @media (max-width: 768px) {
				.driver-grid {
				     margin: 10px auto 0 auto;
				 }
				/* CTA按钮 */
				
	         .card-list  .drivers{padding: 10px;}
	         .card-list   .driver-img{height: 150px;}
	            /* 可选：调整司机卡片在小屏幕的显示 */
	        .card-list  .driver-grid {
	              gap: 10px;
	          }
			 .card-list .driver-info{padding: 10px;font-size: 14px;}
	        }
	
	        /* 保持其他样式不变 */
	      .card-list  .driver-card {
	            border: 1px solid #ddd;
	            border-radius: 8px;
	            overflow: hidden;
	            transition: transform 0.3s;
	        }
			.reservation-section textarea {
			  padding: 10px;
			  border: 1px solid #ccc;}
		
		textarea{resize: none;}