/* Keyword Combination Tool Specific Styles */

.props {
    background: var(--panel-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    height: 500px; /* Aligned with #preview height */
    box-sizing: border-box;
}

.section-title {
    font-weight: 600;
    margin-bottom: 1.25rem;
    margin-top: 0;
    color: var(--text);
    font-size: 1.1rem;
}

.settings-stack {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text);
}

.checkbox-label input[type="checkbox"] {
    width: 1.2rem;
    height: 1.2rem;
    cursor: pointer;
    accent-color: var(--primary);
}

.select-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.select-group span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

select {
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.2s;
    width: 100%;
}

select:focus {
    border-color: var(--primary);
}

.pc-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.main-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: start;
}

@media (max-width: 992px) {
    .main-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .pc-3 {
        grid-template-columns: 1fr;
    }
}

.p {
    display: flex;
    flex-direction: column;
}

.label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    width: 100%;
    padding: 0 0.25rem;
}

label {
    margin-bottom: 0;
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

textarea {
    width: 100%;
    height: 300px;
    background: var(--panel-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
    color: var(--text);
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    resize: vertical;
    outline: none;
    transition: all 0.2s ease;
}

#preview {
    height: 500px;
}

textarea:focus {
    border-color: var(--primary);
}

textarea[readonly] {
    background: var(--bg);
}

.as {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 5rem;
}

.icon-btn-plain {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    box-shadow: none;
    outline: none;
    transition: all 0.2s ease;
}

.icon-btn-plain:hover {
    color: var(--primary);
}

.sm-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.sm-btn:hover {
    background: var(--border);
    color: var(--text);
}
