/* Text Cleaner Styles */

.cleaner-section {
    max-width: 1200px;
    margin: 0 auto;
}

.cleaner-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Options Panel */
.options-panel {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.options-panel h3 {
    margin-bottom: 20px;
    color: #333;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: background 0.3s;
}

.option-item:hover {
    background: #f8f9fa;
}

.option-item input {
    display: none;
}

.checkbox-custom {
    width: 22px;
    height: 22px;
    border: 2px solid #ddd;
    border-radius: 6px;
    position: relative;
    transition: all 0.3s;
}

.option-item input:checked + .checkbox-custom {
    background: #4a90e2;
    border-color: #4a90e2;
}

.option-item input:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 14px;
}

/* Text Areas */
.text-areas {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: stretch;
}

.text-box {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
}

.text-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.text-header h3 {
    margin: 0;
    font-size: 16px;
    color: #333;
}

.stats {
    font-size: 13px;
    color: #888;
}

.text-box textarea {
    flex: 1;
    min-height: 300px;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.6;
    resize: vertical;
    font-family: 'Noto Sans KR', monospace;
    transition: border-color 0.3s;
}

.text-box textarea:focus {
    outline: none;
    border-color: #4a90e2;
}

.text-box textarea[readonly] {
    background: #f8f9fa;
}

.text-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.text-actions .btn-secondary {
    flex: 1;
}

.text-actions .btn-primary {
    flex: 1;
}

.arrow-icon {
    display: flex;
    align-items: center;
    font-size: 30px;
    color: #4a90e2;
}

/* Diff Info */
.diff-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 15px;
    background: #e8f5e9;
    border-radius: 10px;
}

.diff-item {
    color: #2e7d32;
}

/* Quick Actions */
.quick-actions {
    margin-top: 30px;
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.quick-actions h3 {
    margin-bottom: 20px;
    color: #333;
}

.quick-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.quick-btn {
    padding: 10px 20px;
    border: 2px solid #e0e0e0;
    background: #fff;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.quick-btn:hover {
    border-color: #4a90e2;
    background: #f0f7ff;
    color: #4a90e2;
}

/* Guide Section */
.guide-section {
    margin-top: 40px;
}

.guide-section h2 {
    text-align: center;
    margin-bottom: 30px;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.guide-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.guide-card h3 {
    margin-bottom: 10px;
    color: #333;
}

.guide-card p {
    color: #666;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 900px) {
    .text-areas {
        grid-template-columns: 1fr;
    }
    
    .arrow-icon {
        transform: rotate(90deg);
        justify-content: center;
    }
}




