/* AI Tools Page */



.search-container {

    text-align: center;

    margin: 40px auto;

}

.search-container input {

    width: 80%;

    max-width: 500px;

    padding: 15px;

    border: none;

    border-radius: 30px;

    font-size: 17px;

    outline: none;

    box-shadow: 0 5px 20px rgba(0, 0, 0, .15);

    transition: .3s;

}

.search-container input:focus {

    transform: scale(1.02);

    box-shadow: 0 8px 25px rgba(75, 0, 130, .35);

}





.tools-page {


    text-align: center;

    padding: 50px 20px;


}



.tool-container {


    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 30px;


}



.tool-card {


    width: 300px;


    background: white;


    padding: 30px;


    border-radius: 25px;


    box-shadow:

        0 10px 25px rgba(0, 0, 0, .15);


    transition: .4s;


    position: relative;


}

.tools-page .tool-card[hidden] {
    display: none !important;
}



.tool-card:hover {


    transform: translateY(-15px);


    box-shadow:

        0 20px 40px rgba(75, 0, 130, .4);


}



.badge {


    position: absolute;


    top: 20px;


    right: 20px;


    background: #00cfd5;


    color: white;


    padding: 5px 15px;


    border-radius: 20px;


    font-size: 14px;


}



.ud {
    background: #0ad415;
}


.fd {
    background: #3267f7;
}

.paid {


    background: #ff4d4d;


}



.rating {


    font-size: 20px;


    margin: 15px;


}



.tool-btn {


    display: inline-block;


    background: #4B0082;


    color: white;


    padding: 12px 25px;


    border-radius: 25px;


    text-decoration: none;


    transition: .3s;


}



.tool-btn:hover {


    background: #00cfd5;


}



.dark-mode .tool-card {


    background: #1e1e1e;

    color: white;


}


/* Favorite Button */


.favorite-btn {


    margin-top: 15px;


    padding: 10px 20px;


    border: none;


    border-radius: 25px;


    background: #ff4d6d;


    color: white;


    cursor: pointer;


    transition: .3s;


}



.favorite-btn:hover {


    transform: scale(1.1);


}

.cms-tools-section {
    border-top: 1px solid rgba(75, 0, 130, .16);
    margin-top: 25px;
}

.cms-tools-section > p {
    color: #53606f;
    margin-bottom: 28px;
}

.cms-tool-card {
    min-height: 280px;
}

.cms-tool-image {
    border-radius: 18px;
    height: 90px;
    margin: 0 auto 18px;
    object-fit: cover;
    width: 90px;
}

.cms-tool-meta {
    color: #667085;
    font-size: 14px;
    margin: 12px 0;
}

.dark-mode .cms-tools-section > p,
.dark-mode .cms-tool-meta {
    color: #d1d5db;
}

