/* =====================================================
   CLEVERTOOLAI SEO TOOL (ISOLATED FROM GLOBAL CSS)
===================================================== */

/* isolate from homepage grid */
.seo-tool{
    background:#f3f5f9;
    padding:40px 15px 70px;
}

/* stop homepage container width */
.seo-tool .container,
.seo-tool-container,
.seo-wrapper{
    max-width:1000px;
    margin:0 auto;
}

/* MAIN CARD */
.seo-tool .tool-box{
    background:#ffffff;
    padding:30px;
    border-radius:18px;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
}

/* TITLE */
.seo-tool h1{
    font-size:34px;
    font-weight:800;
    margin-bottom:6px;
}

.seo-tool p{
    color:#6b7280;
    margin-bottom:18px;
}

/* TEXTAREA */
.seo-tool #textInput{
    width:100%;
    min-height:260px;
    padding:18px;
    border-radius:14px;
    border:1px solid #d1d5db;
    font-size:15px;
    line-height:1.7;
    resize:vertical;
    background:#fbfcff;
}

.seo-tool #textInput:focus{
    outline:none;
    border-color:#2563eb;
    box-shadow:0 0 0 4px rgba(37,99,235,.15);
}

/* URL INPUT */
.seo-tool #urlInput{
    width:100%;
    padding:12px 14px;
    border-radius:12px;
    border:1px solid #d1d5db;
    margin-top:12px;
}

/* BUTTONS */
.seo-tool button{
    border:none;
    cursor:pointer;
}

.seo-tool #fetchBtn{
    margin-top:10px;
    padding:10px 18px;
    border-radius:10px;
    background:linear-gradient(135deg,#10b981,#059669);
    color:#fff;
    font-weight:600;
}

.seo-tool #analyzeBtn{
    background:linear-gradient(135deg,#2563eb,#1d4ed8);
    color:#fff;
    padding:12px 22px;
    border-radius:12px;
    font-weight:700;
}

/* CONTROL PANEL */
.seo-tool .control-panel{
    margin-top:18px;
    display:grid;
    grid-template-columns:1fr 1fr auto;
    gap:14px;
    align-items:end;
}

.seo-tool .control-group label{
    font-size:13px;
    font-weight:600;
    margin-bottom:5px;
}

.seo-tool .control-group input,
.seo-tool .control-group select{
    height:42px;
    padding:10px 12px;
    border-radius:10px;
    border:1px solid #d1d5db;
    width:100%;
}

/* TABS */
.seo-tool .kd-tabs{
    display:flex;
    gap:10px;
    margin:18px 0;
}

.seo-tool .kd-tabs .tab{
    padding:10px 18px;
    border-radius:999px;
    background:#eef2ff;
    font-weight:600;
}

.seo-tool .kd-tabs .active{
    background:#2563eb;
    color:#fff;
}

/* RESULT TABS */
.seo-tool .result-tabs{
    margin-top:20px;
    display:flex;
    gap:10px;
}

.seo-tool .rTab{
    padding:8px 16px;
    border-radius:10px;
    background:#f3f4f6;
    border:1px solid #e5e7eb;
    font-weight:600;
}

.seo-tool .rTab.active{
    background:#111827;
    color:#fff;
}

/* SUMMARY */
.seo-tool #summary{
    margin-top:20px;
    padding:16px;
    border-radius:14px;
    background:#eef2ff;
    color:#1e3a8a;
    font-weight:600;
}

/* TABLE */
.seo-tool .density-table{
    width:100%;
    margin-top:20px;
    border-collapse:collapse;
}

.seo-tool .density-table th{
    background:#111827;
    color:#fff;
    padding:12px;
}

.seo-tool .density-table td{
    padding:12px;
    border-bottom:1px solid #e5e7eb;
}

/* ARTICLE */
.seo-tool .article-content{
    max-width:900px;
    margin:40px auto;
    background:#fff;
    padding:30px;
    border-radius:16px;
    box-shadow:0 8px 25px rgba(0,0,0,.06);
}

.seo-tool .article-content h2{
    margin-top:30px;
    font-size:26px;
}

.seo-tool .article-content p{
    margin:12px 0;
    line-height:1.75;
}



.tools-grid .tool-open{
    display:inline-block;
    background:#2563eb;
    color:#fff !important;
    padding:10px 18px;
    border-radius:10px;
    font-weight:600;
}