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

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
    border-bottom: 1px solid #e1e4e8;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.header-icon {
    width: 48px;
    height: 48px;
    transition: transform 0.3s ease;
}

.header-icon:hover {
    transform: scale(1.1);
}

header h1 {
    color: #2c3e50;
    margin-bottom: 10px;
}

header p {
    color: #7f8c8d;
}

.info-box {
    background-color: #f8f9fa;
    border-left: 4px solid #3498db;
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 0 5px 5px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.info-text {
    color: #34495e;
    font-size: 15px;
}

.instructions-box {
    background-color: #fff;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
}

.instructions-box h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.steps {
    padding-left: 20px;
}

.steps li {
    margin-bottom: 10px;
    color: #34495e;
}

.steps li:last-child {
    margin-bottom: 0;
}

.generator-box {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 40px;
}

.options, .result {
    flex: 1;
    min-width: 300px;
}

h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.form-controls {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #34495e;
}

select, input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

select:focus, input:focus {
    outline: none;
    border-color: #3498db;
}

.buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

button {
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s;
}

#generate-btn {
    background-color: #3498db;
    color: white;
}

#generate-btn:hover {
    background-color: #2980b9;
}

#copy-btn {
    background-color: #2ecc71;
    color: white;
}

#copy-btn:hover {
    background-color: #27ae60;
}

.refresh-btn {
    background-color: #e74c3c;
    color: white;
}

.refresh-btn:hover {
    background-color: #c0392b;
}

/* 表格样式 */
.result-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.result-table tr {
    border-bottom: 1px solid #eee;
}

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

.label-cell {
    padding: 12px 15px;
    text-align: left;
    font-weight: bold;
    color: #7f8c8d;
    width: 35%;
}

.value-cell {
    padding: 12px 15px;
    text-align: left;
    color: #2c3e50;
}

.result-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* 多地址显示区域样式 */
.multiple-addresses-container {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    display: none; /* 默认隐藏，当有多个地址时显示 */
}

.multiple-addresses-container h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.multiple-addresses-results {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.address-pair {
    display: flex;
    width: 100%;
    gap: 20px;
    margin-bottom: 20px;
}

.address-card {
    background-color: #e8f4f4;
    flex: 1;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.address-item {
    margin-bottom: 8px;
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 8px;
}

.address-item:last-child {
    border-bottom: none;
}

.address-label {
    font-weight: normal;
    color: #7f8c8d;
    min-width: 160px;
    display: inline-block;
}

.address-value {
    font-weight: normal;
    color: #2c3e50;
    flex: 1;
}

.address-copy-btn {
    background-color: #2ecc71;
    color: white;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    margin-top: 10px;
    width: 100%;
}

.address-copy-btn:hover {
    background-color: #27ae60;
}

footer {
    text-align: center;
    padding: 30px 0;
    color: #7f8c8d;
    font-size: 14px;
    background-color: #f8f9fa;
    border-top: 1px solid #e1e4e8;
    margin-top: 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-keywords,
.footer-states {
    margin-top: 20px;
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    text-align: left;
}

.footer-keywords p,
.footer-states p {
    margin: 0;
    line-height: 1.6;
}

.footer-states a {
    color: #3498db;
    text-decoration: none;
}

.footer-states a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 768px) {
    .generator-box {
        flex-direction: column;
    }
    
    .options, .result {
        width: 100%;
    }
    
    .buttons {
        flex-direction: column;
    }
    
    button {
        width: 100%;
    }
    
    .address-pair {
        flex-direction: column;
    }
}

/* SEO Content Styles */
.seo-content-section {
    margin-top: 40px;
}

.seo-text-content {
    padding: 15px;
    line-height: 1.8;
}

.seo-text-content p {
    margin-bottom: 15px;
    color: #34495e;
}

.seo-text-content h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 18px;
}

.seo-text-content h4 {
    color: #3498db;
    margin-bottom: 10px;
    font-size: 16px;
}

.how-to-steps {
    padding-left: 20px;
}

.how-to-steps li {
    margin-bottom: 12px;
    color: #34495e;
    line-height: 1.6;
}

.features-list, .benefits-list {
    list-style: none;
    padding: 0;
}

.features-list li, .benefits-list li {
    margin-bottom: 10px;
    color: #34495e;
    line-height: 1.6;
}

.state-generators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.state-gen-item {
    background-color: #f8f9fa;
    padding: 10px 15px;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    color: #34495e;
}

.faq-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h4 {
    margin-bottom: 8px;
}

.faq-item p {
    margin-bottom: 0;
}

.keywords-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.keyword-tag {
    background-color: #e8f4f8;
    color: #2c3e50;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    border: 1px solid #d0e7f0;
    font-weight: 500;
}

.keyword-tag:hover {
    background-color: #d0e7f0;
    transform: translateY(-1px);
    transition: all 0.2s ease;
}

@media screen and (max-width: 768px) {
    .state-generators-grid {
        grid-template-columns: 1fr;
    }
    
    .keywords-grid {
        justify-content: center;
    }
    
    .how-to-steps {
        padding-left: 15px;
    }
} 