/* 打印机驱动下载站样式 */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
}

header {
    background: #333;
    color: white;
    padding: 1rem;
}

nav a {
    color: white;
    text-decoration: none;
    margin-right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 3px;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: #555;
    text-decoration: none;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

.download-link {
    display: inline-block;
    background: #007cba;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin: 5px;
    transition: background-color 0.3s;
}

.download-link:hover {
    background: #005a87;
    text-decoration: none;
}

.back-link {
    color: #007cba;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

.header {
    background: #f4f4f4;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.download-section {
    background: #e8f4fd;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.model-card {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
    transition: box-shadow 0.3s;
}

.model-card:hover {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.brand-card {
    border: 1px solid #ddd;
    padding: 20px;
    text-align: center;
    border-radius: 5px;
    transition: box-shadow 0.3s;
}

.brand-card:hover {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.stats {
    background: #f4f4f4;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

table {
    border-collapse: collapse;
    width: 100%;
    margin: 20px 0;
}

table td {
    border: 1px solid #ddd;
    padding: 8px;
}

table tr:nth-child(even) {
    background-color: #f2f2f2;
}

@media (max-width: 768px) {
    main {
        padding: 1rem;
    }
    
    .models-grid {
        grid-template-columns: 1fr;
    }
    
    .brands-grid {
        grid-template-columns: 1fr;
    }
}