script/mvcar/frontend/css/result.css

180 lines
2.9 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}
body {
background-color: #f5f7fa;
color: #333;
line-height: 1.6;
padding: 20px;
display: flex;
flex-direction: column;
align-items: center;
min-height: 100vh;
}
.container {
max-width: 500px;
width: 100%;
background: white;
border-radius: 16px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
overflow: hidden;
margin-top: 20px;
}
.header {
background: linear-gradient(135deg, #4a6cf7, #6a82fb);
color: white;
padding: 25px 20px;
text-align: center;
}
.header h1 {
font-size: 24px;
margin-bottom: 8px;
}
.header p {
opacity: 0.9;
font-size: 15px;
}
.content {
padding: 25px;
}
.info-card {
background: #f8f9ff;
border-radius: 12px;
padding: 20px;
margin-bottom: 25px;
border-left: 4px solid #4a6cf7;
}
.info-card h2 {
color: #4a6cf7;
font-size: 18px;
margin-bottom: 10px;
display: flex;
align-items: center;
}
.info-card h2 i {
margin-right: 8px;
}
.phone-number {
font-size: 28px;
font-weight: bold;
color: #333;
margin: 15px 0;
text-align: center;
letter-spacing: 1px;
}
.call-button {
display: block;
width: 100%;
background: #4a6cf7;
color: white;
border: none;
border-radius: 50px;
padding: 16px;
font-size: 18px;
font-weight: bold;
cursor: pointer;
transition: all 0.3s ease;
margin-top: 20px;
display: flex;
justify-content: center;
align-items: center;
box-shadow: 0 4px 12px rgba(74, 108, 247, 0.3);
text-decoration: none;
}
.call-button i {
margin-right: 8px;
}
.call-button:hover {
background: #3a5ce5;
transform: translateY(-2px);
box-shadow: 0 6px 15px rgba(74, 108, 247, 0.4);
}
.car-info {
background: #f8f9ff;
border-radius: 12px;
padding: 20px;
margin-bottom: 25px;
}
.car-info h3 {
color: #4a6cf7;
margin-bottom: 15px;
font-size: 17px;
}
.car-info p {
margin-bottom: 10px;
}
.instructions {
margin-top: 30px;
background: #f8f9ff;
border-radius: 12px;
padding: 20px;
}
.instructions h3 {
color: #4a6cf7;
margin-bottom: 15px;
font-size: 17px;
}
.instructions ul {
list-style-type: none;
}
.instructions li {
margin-bottom: 12px;
padding-left: 24px;
position: relative;
}
.instructions li:before {
content: "•";
color: #4a6cf7;
font-weight: bold;
position: absolute;
left: 8px;
}
.footer {
text-align: center;
margin-top: 30px;
color: #666;
font-size: 14px;
}
@media (max-width: 480px) {
.container {
margin-top: 10px;
}
.header {
padding: 20px 15px;
}
.content {
padding: 20px;
}
.phone-number {
font-size: 24px;
}
}