/**
 * AI Tool Finder
 * AITeluguLo AI Tools v6.0
 */

/* ==========================
   Tool Container
========================== */

.ait-ai-tool-finder{
    width:100%;
    max-width:900px;
    margin:30px auto;
    padding:24px;
    background:#ffffff;
    border:1px solid #e5e7eb;
    border-radius:12px;
    box-sizing:border-box;
}

/* ==========================
   Header
========================== */

.ait-tool-header{
    margin-bottom:24px;
    text-align:center;
}

.ait-tool-title{
    margin:0 0 10px;
    font-size:32px;
    font-weight:700;
    line-height:1.3;
}

.ait-tool-description{
    margin:0;
    color:#666;
    font-size:16px;
}

/* ==========================
   Search
========================== */

.ait-tool-search{
    margin-bottom:24px;
}

.ait-search-input{
    width:100%;
    padding:14px 16px;
    font-size:16px;
    border:1px solid #d1d5db;
    border-radius:8px;
    outline:none;
    box-sizing:border-box;
}

.ait-search-input:focus{
    border-color:#2563eb;
}

/* ==========================
   Results
========================== */

.ait-tool-results{
    min-height:120px;
}

.ait-empty-message{
    margin:0;
    color:#777;
    text-align:center;
    padding:30px 0;
}

/* ==========================
   Responsive
========================== */

@media (max-width:768px){

    .ait-ai-tool-finder{
        padding:18px;
    }

    .ait-tool-title{
        font-size:26px;
    }

    .ait-tool-description{
        font-size:15px;
    }

}

/* ==========================
   Filters
========================== */

.ait-tool-filters{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:15px;
    margin-bottom:20px;
}

.ait-tool-filters select,
.ait-btn{
    width:100%;
    border:1px solid #d1d5db;
    border-radius:8px;
    background:#fff;
    font-size:15px;
    box-sizing:border-box;
}

.ait-btn{
    cursor:pointer;
    background:#2563eb;
    color:#fff;
    border:none;
    transition:.3s;
}

.ait-btn:hover{
    background:#1d4ed8;
}

/* ==========================
   Counter
========================== */

.ait-tool-counter{
    margin-bottom:20px;
    font-size:15px;
    color:#555;
}

#ait-total-tools{
    font-weight:700;
    color:#2563eb;
}

/* ==========================
   Tool Cards
========================== */

.ait-tool-results{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:20px;
}

.ait-tool-card{
    padding:18px;
    border:1px solid #e5e7eb;
    border-radius:10px;
    background:#fff;
    transition:.3s;
}

.ait-tool-card:hover{
    transform:translateY(-3px);
    box-shadow:0 8px 24px rgba(0,0,0,.08);
}

.ait-tool-card h3{
    margin:0 0 10px;
    font-size:20px;
}

.ait-tool-meta{
    margin-bottom:15px;
    font-size:14px;
    color:#666;
}

.ait-tool-actions{
    display:flex;
    gap:10px;
}

.ait-tool-actions a{
    display:inline-block;
    padding:8px 14px;
    border-radius:6px;
    text-decoration:none;
    font-size:14px;
    background:#2563eb;
    color:#fff;
}

.ait-tool-actions a:hover{
    background:#1d4ed8;
}

/* ==========================
   Mobile
========================== */

@media(max-width:768px){

    .ait-tool-filters{
        grid-template-columns:1fr;
    }

}

.ait-tool-table-wrapper{
    overflow-x:auto;
    margin-top:20px;
}

.ait-tool-table{
    width:100%;
    border-collapse:collapse;
    background:#fff;
}

.ait-tool-table th{
    background:#2563eb;
    color:#fff;
    padding:12px;
    text-align:left;
}

.ait-tool-table td{
    padding:12px;
    border-bottom:1px solid #e5e7eb;
}

.ait-tool-table tr:hover{
    background:#f8fafc;
}

.ait-tool-table a{
    color:#2563eb;
    text-decoration:none;
    font-weight:600;
}

.ait-tool-table a:hover{
    text-decoration:underline;
}

/* Pricing Badge */

.ait-pricing-badge{

    display:inline-block;

    padding:4px 10px;

    border-radius:20px;

    font-size:13px;

    font-weight:600;

    color:#fff;

    text-align:center;

    min-width:80px;

}

/* Free */

.ait-pricing-badge.free{

    background:#16a34a;

}

/* Freemium */

.ait-pricing-badge.freemium{

    background:#f59e0b;

}

/* Paid */

.ait-pricing-badge.paid{

    background:#dc2626;

}

/* ===========================
   Level Badge
=========================== */

.ait-level-badge{

    display:inline-block;

    padding:4px 10px;

    border-radius:20px;

    font-size:13px;

    font-weight:600;

    color:#fff;

    text-align:center;

    min-width:100px;

}

/* Beginner */

.ait-level-badge.beginner{

    background:#22c55e;

}

/* Intermediate */

.ait-level-badge.intermediate{

    background:#f59e0b;

}

/* Advanced */

.ait-level-badge.advanced{

    background:#ef4444;

}

.ait-level-badge{

    display:inline-flex;
    align-items:center;
    justify-content:center;

    min-width:90px;
    padding:4px 12px;

}


/* ===========================
   Rating Stars
=========================== */

.ait-rating{

    color:#f59e0b;

    font-size:18px;

    letter-spacing:2px;

    white-space:nowrap;

}

.ait-rating small{

    color:#666;

    font-size:12px;

    margin-left:4px;

}

/* ===========================
   Buttons
=========================== */

.ait-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:6px;

    padding:8px 14px;

    border-radius:8px;

    font-size:13px;

    font-weight:600;

    text-decoration:none;

    transition:all .25s ease;

}

/* Visit */

.ait-btn-primary{

    background:#2563eb;

    color:#fff;

}

.ait-btn-primary:hover{

    background:#1d4ed8;

    color:#fff;

}

/* Guide */

.ait-btn-secondary{

    background:#f3f4f6;

    color:#111827;

    border:1px solid #d1d5db;

}

.ait-btn-secondary:hover{

    background:#e5e7eb;

    color:#111827;

}

.ait-no-guide{

    color:#9ca3af;

    font-size:18px;

}