body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f7f6; /* 浅灰色背景 */
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 960px; /* 增加最大宽度 */
    margin: 0 auto; /* 居中 */
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* General Button Styles */
button {
    background-color: #4a90e2; /* 统一使用柔和蓝色 */
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #357ABD; /* 鼠标悬停时颜色稍深 */
    transform: translateY(-1px);
}

button:active {
    transform: translateY(0);
}

/* Select Element Styles */
select {
    width: 100%;
    padding: 10px;
    border: 1px solid #cccccc; /* 统一边框颜色 */
    border-radius: 5px;
    font-size: 1em;
    margin-top: 5px;
    margin-bottom: 10px;
    background-color: #ffffff; /* 白色背景 */
    appearance: none; /* 移除默认样式 */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%234a90e2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13.2-6.4H18.6c-5%200-9.3%201.8-13.2%206.4-3.9%204.5-6%2010.2-6%2016.3%200%206.1%202.1%2011.8%206%2016.3l118.2%20118.2c4.5%204.5%2010.2%206.4%2016.3%206.4s11.8-1.9%2016.3-6.4l118.2-118.2c3.9-4.5%206-10.2%206-16.3s-2.1-11.8-6-16.3z%22%2F%3E%3C%2Fsvg%3E'); /* 自定义下拉箭头，颜色与主题一致 */
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
}

select:focus {
    border-color: #4a90e2; /* 聚焦时边框颜色 */
    outline: none;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2); /* 聚焦时阴影 */
}

.button {
    display: block;
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

/* Hero Section Styles */
.hero-section {
    background: linear-gradient(135deg, #4a90e2, #8ec0ff); /* 柔和的蓝色渐变 */
    color: #ffffff;
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 30px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-section h1 {
    font-size: 3.5em;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-section .subtitle {
    font-size: 1.5em;
    opacity: 0.9;
}

/* Usage Instructions Section */
#usage-instructions {
    background-color: #f8f9fa; /* 浅灰色背景 */
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#usage-instructions h2 {
    color: #333333; /* 深灰色标题 */
    font-size: 1.8em;
    margin-bottom: 15px;
    border-bottom: 2px solid #4a90e2; /* 与hero-section主色调一致 */
    padding-bottom: 10px;
}

#usage-instructions p {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: #555555;
}

#usage-instructions ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

#usage-instructions ul li {
    background-color: #ffffff;
    padding: 10px 15px;
    margin-bottom: 8px;
    border-left: 4px solid #4a90e2; /* 与hero-section主色调一致 */
    border-radius: 5px;
    font-size: 1em;
    color: #444444;
}

#usage-instructions ul li strong {
    color: #4a90e2; /* 与hero-section主色调一致 */
}

#usage-instructions ul li a {
    color: #4a90e2; /* 与hero-section主色调一致 */
    text-decoration: none;
}

#usage-instructions ul li a:hover {
    text-decoration: underline;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

header h1 {
    color: #333;
    font-size: 2.5em;
    margin-bottom: 10px;
}

header p {
    color: #666;
    font-size: 1.1em;
}

main {
    margin-bottom: 30px;
}

.button {
    display: block;
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.button.primary {
    background-color: #ff8c00; /* 大橙色按钮 */
    color: #fff;
}

.button.primary:hover {
    background-color: #e67e00;
}

.button.secondary {
    background-color: #4682b4; /* 大蓝色按钮 */
    color: #fff;
}

.button.secondary:hover {
    background-color: #3a6a93;
}

.button.tertiary {
    background-color: #cccccc; /* 灰色小按钮 */
    color: #333;
    font-size: 1em;
    padding: 10px 15px;
}

.button.tertiary:hover {
    background-color: #b3b3b3;
main {
    padding: 20px 0; /* 为main内容区添加垂直内边距 */
}

.card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 20px;
}

.card h2 {
    color: #333333;
    font-size: 1.5em;
    margin-bottom: 15px;
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 15px;
    }

    .hero-section h1 {
        font-size: 2.5em;
    }

    .hero-section .subtitle {
        font-size: 1.2em;
    }

    .container {
        padding: 15px;
    }

    #usage-instructions, .card {
        padding: 15px;
    }

    button, select {
        padding: 8px 12px;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 2em;
    }

    .hero-section .subtitle {
        font-size: 1em;
    }

    button {
        width: 100%;
        margin-left: 0 !important; /* 确保按钮在小屏幕上独占一行 */
        margin-top: 10px;
    }
}   cursor: pointer;
    transition: background-color 0.3s ease;
}

.card:hover {
    background-color: #f0f0f0;
}

.card h2 {
    margin-top: 0;
    color: #333;
    font-size: 1.3em;
}

.card p {
    color: #666;
}

footer {
    text-align: center;
    color: #888;
    font-size: 0.9em;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Result Page Specific Styles */
.result-section {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.result-section:last-child {
    border-bottom: none;
}

.result-section h2 {
    color: #ff8c00;
    font-size: 1.6em;
    margin-bottom: 15px;
}

.result-section ul {
    list-style: none;
    padding: 0;
}

.result-section ul li {
    background-color: #e9f7ef; /* Light green for list items */
    margin-bottom: 8px;
    padding: 10px 15px;
    border-left: 5px solid #28a745; /* Green border */
    border-radius: 4px;
    display: flex;
    align-items: center;
}

.result-section ul li a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
    margin-left: 10px;
}

.result-section ul li a:hover {
    text-decoration: underline;
}

.phone-number {
    font-weight: bold;
    color: #d9534f; /* Red for phone numbers */
}

.province-select {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

.copy-button, .print-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    margin-top: 20px;
    margin-right: 10px;
}

.copy-button:hover, .print-button:hover {
    background-color: #0056b3;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .container {
        margin: 10px;
        padding: 15px;
    }

    header h1 {
        font-size: 2em;
    }

    header p {
        font-size: 1em;
    }

    .button {
        font-size: 1.1em;
        padding: 15px 15px; /* Increased padding for better touch target */
        margin-bottom: 10px; /* Reduced margin for tighter layout */
    }

    .button.tertiary {
        font-size: 0.9em;
        padding: 10px 12px; /* Increased padding for better touch target */
    }

    .card {
        padding: 12px; /* Slightly reduced padding for cards */
        margin-bottom: 8px; /* Reduced margin for tighter layout */
    }

    .card h2 {
        font-size: 1.2em; /* Slightly increased font size for readability */
    }

    .result-section h2 {
        font-size: 1.5em; /* Slightly increased font size for readability */
    }

    .result-section ul li {
        padding: 10px 12px; /* Increased padding for better touch target */
        font-size: 1em; /* Slightly increased font size for readability */
        margin-bottom: 6px; /* Reduced margin for tighter layout */
    }

    .copy-button, .print-button {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
        padding: 12px 20px; /* Increased padding for better touch target */
        font-size: 1.1em; /* Slightly increased font size for readability */
    }
}

