
.tool-container .title-box {
    text-align: center;
    margin-bottom: 1.5rem;
}

.tool-container .main-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: bold;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.tool-container .sub-title {
    color: var(--color-text-light);
    font-size: 1rem;
}

.tool-container .card {
    background: var(--bg-card);
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: calc(100vw - 2rem);
    box-sizing: border-box;
}

.tool-container .input-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tool-container .input-row label {
    color: #374151;
    white-space: nowrap;
}

.tool-container .input-row input {
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    flex: 1;
    min-width: 0;
}

.tool-container .btn-green {
    background-color: #16a34a;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    border: none;
    white-space: nowrap;
    cursor: pointer;
}

.tool-container .btn-green:hover {
    background-color: #15803d;
}

.tool-container .result-box {
    margin-bottom: 1.5rem;
    display: none;
}

.tool-container .result-box.show {
    display: block;
}

.tool-container .result-box h2 {
    color: #374151;
    margin-bottom: 0.5rem;
}

.tool-container .result-list {
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    padding: 1rem;
    background: white;
}

.tool-container .tip {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.tool-container .section-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.tool-container .desc {
    font-size: 0.875rem;
    color: #374151;
    margin-bottom: 1rem;
}

.tool-container .info-box {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    font-family: monospace;
    font-size: 0.875rem;
    overflow-x: auto;
}

.tool-container .info-box .title {
    margin-bottom: 0.5rem;
}

.tool-container pre {
    margin: 0;
    white-space: pre;
}