/* Line Break Tool Specific Styles */

.tool-header {
    text-align: center;
    margin-bottom: 3rem;
}

.tool-header h1 {
    font-size: 2.25rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.tool-header p {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 500;
    letter-spacing: 0.2em;
}

.props {
    background: var(--panel-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

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

.settings-group {
    margin-bottom: 2rem;
}

.settings-group:last-child {
    margin-bottom: 0;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem 2rem;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem; 
    color: var(--text);
    cursor: pointer;
    margin-bottom: 0; 
    padding: 0;
    height: auto;
    white-space: nowrap;
}

.checkbox-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    position: relative;
    margin: 0;
}

.checkbox-label input[type="checkbox"]:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

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

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

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

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

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

textarea {
    width: 100%;
    height: 450px;
    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;
}

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

.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);
}

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