/* 工具页专属样式 */
.tool-page-container {
    max-width: 100%;
    margin: 40px auto;
    padding: 0 15px;
}

.tool-content-card {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
}

.tool-header {
    text-align: center;
    margin-bottom: 32px;
}

.tool-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}

.tool-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 680px;
    margin: 0 auto;
}

.tool-embed-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
    background: white;
    margin-bottom: 28px;
}

.tool-normal-container {
    width: 100%;
}

.tool-iframe {
    width: 100%;
    height: 90vh;
    border: none;
    display: block;
}

.tool-seo-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

/* 移动端适配：通过媒体查询替代 JS 调整高度（推荐） */
@media (max-width: 767.98px) {
    .tool-iframe {
        height: 420px;
    }
}

.tool-normal-container .btn-primary {
  background-color: #10b981 !important;
  border-color: #10b981 !important;
}
.tool-normal-container .btn-primary:hover {
  background-color: #0da274 !important; /* 稍深一点的绿色 */
  border-color: #0da274 !important;
}