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

.template-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.template-subtitle {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 20px;
}

.template-description {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    color: #555;
}

.template-list {
    margin-bottom: 40px;
}

.template-list h2 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

.template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.template-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.template-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.template-card-header {
    background: #f8f9fa;
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.template-card-header h3 {
    font-size: 1.1em;
    color: #333;
    margin: 0;
}

.template-card-body {
    padding: 15px;
}

.template-files {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.template-file-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
    transition: background 0.2s ease;
}

.template-file-item:hover {
    background: #e9ecef;
}

.file-icon {
    font-size: 1.5em;
    margin-right: 10px;
}

.file-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.file-name {
    font-size: 0.9em;
    color: #333;
    margin-bottom: 3px;
}

.file-size {
    font-size: 0.8em;
    color: #666;
}

.download-btn {
    background: #007bff;
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.8em;
    transition: background 0.2s ease;
}

.download-btn:hover {
    background: #0069d9;
    color: #fff;
}

.template-guide {
    margin-bottom: 40px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.template-guide h2 {
    font-size: 1.6em;
    color: #333;
    margin-bottom: 20px;
}

.guide-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.guide-step {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: flex-start;
}

.step-number {
    background: #007bff;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.1em;
    color: #333;
    margin-bottom: 5px;
}

.step-content p {
    font-size: 0.9em;
    color: #666;
    margin: 0;
}

.template-tips {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 20px;
}

.template-tips h2 {
    font-size: 1.6em;
    color: #856404;
    margin-bottom: 15px;
}

.template-tips ul {
    list-style-type: disc;
    padding-left: 20px;
    color: #6c5ce7;
}

.template-tips li {
    margin-bottom: 8px;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .template-header h1 {
        font-size: 2em;
    }
    
    .template-grid {
        grid-template-columns: 1fr;
    }
    
    .guide-steps {
        flex-direction: column;
    }
    
    .guide-step {
        min-width: 100%;
    }
}