
/* 整体容器样式 */
.liuyan_tishi {
    text-align: left;
    margin: 15px 0;
}
.liuyan_tishi .p1{font-size: 16px; color: #2d3748; margin:15px;}
.liuyan_tishi .p2{font-size: 14px; color: #4a5568; margin:15px;}
.liuyan_tishi .p2 span{color: #4299e1; font-weight: 600;}


/* 留言表单容器 */
.liuyan-container {
    background: #fff;
    padding: 20px 15px;
    border-radius: 10px;
    margin-top: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.form-main-container {
    max-width: 100%;
    margin: 0 auto;
}

.form-row {
    flex-direction: column;
    margin-bottom: 18px;
}

.form-label {
    flex: none;
    text-align: left;
    padding: 0 0 6px 5px;
    width: 100%;
    font-size: 14px;
    color: #2d3748;
    font-weight: 500;
}

.form-label span {
    color: #fc8181;
}

.form-input-group {
    max-width: 100%;
    margin-left: 0;
}

.liuyan-input {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    background: #f8fafc;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.liuyan-input:focus {
    border-color: #4299e1;
    box-shadow: 0 0 0 2px rgba(66, 153, 225, 0.2);
    background: #fff;
    outline: none;
}

.liuyan-input.error {
    border-color: #fc8181;
    background: #fff5f5;
}

.liuyan-info {
    color: #fc8181;
    font-size: 12px;
    line-height: 1.4;
    margin-top: 6px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.liuyan-info.show {
    opacity: 1;
}

.liuyan-success {
    background: #c6f6d5;
    color: #22543d;
    padding: 12px;
    border-radius: 8px;
    margin: 15px 0;
    border: 1px solid #9ae6b4;
    text-align: center;
    font-size: 14px;
}

.liuyan-submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(90deg, #4299e1, #3182ce);
    color: white;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: 500;
    margin-top: 20px;
    box-shadow: 0 2px 6px rgba(66, 153, 225, 0.2);
}

.liuyan-submit-btn:hover:not(:disabled) {
    background: linear-gradient(90deg, #3182ce, #2b6cb0);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 153, 225, 0.3);
}

.liuyan-submit-btn:disabled {
    background: #a0aec0;
    cursor: not-allowed;
    opacity: 0.9;
}

.liuyan-submit-btn.loading::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    transform: translateY(-50%);
    animation: liuyan-spin 0.8s linear infinite;
}

@keyframes liuyan-spin {
    to { transform: rotate(360deg); }
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #2d3748;
    font-size: 20px;
    font-weight: 600;
}
