/* ==========================================================================
   ISOLATED NAMESPACE: TOOL PEMBERSIH TEKS (Responsif HP)
   ========================================================================== */

.tool-cleaner-wrapper {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem; /* Padding luar lebih pas di HP */
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.tool-cleaner-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.tool-cleaner-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.tool-cleaner-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.tool-cleaner-desc {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 650px;
    margin: 0 auto;
}

/* Card Utama & Card Artikel */
.tool-cleaner-card,
.tool-article-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    padding: 1.5rem; /* Padding dalam agar pas dan luas di HP */
    margin-bottom: 1.25rem;
}

.tool-cleaner-group {
    margin-bottom: 1.5rem;
}

.tool-cleaner-label {
    display: block;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.tool-cleaner-textarea {
    width: 100%;
    padding: 0.85rem;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.9rem;
    resize: vertical;
    box-sizing: border-box;
    outline: none;
    background: #f8fafc;
    color: #0f172a;
    transition: all 0.2s ease;
}

.tool-cleaner-textarea:focus {
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

/* 4 Tombol Aksi: 2 Baris x 2 Kolom */
.tool-cleaner-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

/* Tombol Utama */
.tool-btn {
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.85rem;
    transition: transform 0.15s ease, background 0.15s ease;
    color: white;
    width: 100%;
    text-align: center;
}

.tool-btn:hover {
    transform: translateY(-1px);
}

.tool-btn-sm {
    padding: 0.55rem 0.9rem;
    font-size: 0.8rem;
    border-radius: 8px;
    width: auto; /* Agar fleksibel dan tetap berdampingan */
    flex: 1; /* Membagi rata lebar tombol di HP */
    text-align: center;
}

.tool-btn-primary { background: #2563eb; }
.tool-btn-primary:hover { background: #1d4ed8; }

.tool-btn-purple { background: #7c3aed; }
.tool-btn-purple:hover { background: #6d28d9; }

.tool-btn-sky { background: #0ea5e9; }
.tool-btn-sky:hover { background: #0284c7; }

.tool-btn-slate { background: #64748b; }
.tool-btn-slate:hover { background: #475569; }

.tool-btn-success { background: #16a34a; }
.tool-btn-success:hover { background: #15803d; }

/* Bagian Output Hasil */
.tool-cleaner-output-box {
    margin-top: 1rem;
}

.tool-cleaner-output-label {
    display: block;
    font-weight: 700;
    color: #047857;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.tool-textarea-result {
    border: 1px solid #a7f3d0 !important;
    background: #f0fdf4 !important;
    color: #065f46 !important;
    margin-bottom: 0.75rem;
}

/* TOMBOL UNDUH & SALIN: DIPASTIKAN SELALU BERDAMPINGAN BAHKAN DI HP */
.tool-cleaner-output-buttons {
    display: flex;
    gap: 0.5rem;
    width: 100%;
}

/* Styling Card Artikel SEO (Luas & Rapi di HP) */
.tool-article-card {
    margin-top: 1rem;
}

.tool-cleaner-article-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    line-height: 1.35;
}

.tool-cleaner-article-content {
    color: #334155;
    line-height: 1.7;
    font-size: 0.95rem;
    text-align: justify;
}

.tool-cleaner-article-content p {
    margin-bottom: 0.85rem;
}