/* template.php 页面样式 - 与网站整体风格一致 */

.template-position-header {
    padding-bottom: 16px;
    border-bottom: 2px solid #f0f2f5;
    margin-bottom: 20px;
}

.template-position-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2b2320;
    margin: 0;
}

.template-position-date {
    font-size: 0.9rem;
    margin: 0;
}

#template_position {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
}

#template_position form {
    display: flex;
    gap: 0;
    background: #fff;
    border: 2px solid #e3e6f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

#template_position form:focus-within {
    border-color: #f03c02;
    box-shadow: 0 0 0 4px rgba(240, 60, 2, 0.1);
}

#template_position #template_key_word {
    flex: 1;
    border: none;
    background: transparent;
    padding: 14px 20px;
    font-size: 15px;
    color: #333;
    outline: none;
    min-width: 0;
}

#template_position #template_key_word::placeholder {
    color: #a0a5b5;
}

#template_position #template_position_button {
    background: linear-gradient(135deg, #f03c02 0%, #e03600 100%);
    border: none;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    width: 120px;
    flex-shrink: 0;
    border-radius: 0 10px 10px 0;
}

#template_position #template_position_button:hover {
    background: linear-gradient(135deg, #e03600 0%, #c93000 100%);
    box-shadow: 0 4px 15px rgba(240, 60, 2, 0.3);
}

#template_position .text-danger {
    color: #e74c3c !important;
    font-weight: 500;
}

/* 搜索无结果提示区域样式 */
.template_note {
    display: none;
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fc 0%, #e8eaef 100%);
}

.template_note.show {
    display: block;
}

.template_note h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2b2320;
    margin-bottom: 20px;
    text-align: center;
}

.template_note p {
    font-size: 1rem;
    line-height: 1.8;
    color: #5a5c69;
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: left;
}

.template_btn {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, #f03c02 0%, #e03600 100%);
    color: #fff !important;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(240, 60, 2, 0.3);
    text-align: center;
}

.template_btn:hover {
    background: linear-gradient(135deg, #e03600 0%, #c93000 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(240, 60, 2, 0.4);
    color: #fff !important;
}

/* 响应式调整 */
@media (max-width: 768px) {
    #template_position form {
        flex-direction: row;
        gap: 0;
    }

    #template_position #template_position_button {
        width: 120px;
    }
}
