@import url("fonts.css");

* {
    font-family: "Cairo", sans-serif;
}

input::placeholder {
    color: #333333;
    font-size: 1.2rem;
}

.row {
    padding-right: 0px !important;
}

.search-btn {
    color: #ffffff;
    background-color: #1d70b7;
    border-radius: 6px;
    border: 1px solid #1d70b7;
}

.search-btn:hover {
    background-color: #065193;
    color: #ffffff;
}

.pagination .page-item .page-link {
    background-color: #ffffff;
    color: #1d70b7;
    border: 1px solid #1d70b7;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1rem;
}

.pagination .page-item.active .page-link {
    background-color: #1d70b7 !important;
    border: 1px solid #1d70b7;
    font-size: 1rem;
    color: #ffffff !important;
    border-radius: 6px;
    border: none;
    border: 1px solid #1d70b7;
}

.pagination .page-item .page-link:hover {
    background-color: #105ca8;
    color: #fff;
}

.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    background-color: #ffffff;
    color: #1d70b7;
    font-weight: bold;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.pagination .page-item:first-child .page-link::before,
.pagination .page-item:last-child .page-link::before {
    font-size: 0.6rem;
    transform: scale(0.7);
}

.selecttor:first-child {
    color: #888888;
}

.material-symbols-outlined {
    text-decoration: none !important;
    vertical-align: middle;
    font-size: 20px;
    color: #555;
}

.cat-card {
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    height: 270px;
}

.cat-card::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    pointer-events: none;
    z-index: 0;
}

.cat-card > * {
    position: relative;
    z-index: 1;
}

.cat-card:hover {
    transform: scale(1.03);
    box-shadow: inset 0 -200px 200px -10px rgba(0, 0, 0, 0.3),
        0 10px 20px rgba(0, 0, 0, 0.3);
}

.text-area-box {
    background-color: #f9f9f9;
    border: 1px solid #f2f2f2;
}

.text-area-box::placeholder {
    color: #33333380;
}
.text-area-box:focus {
    border: 1px solid #155a91;
    box-shadow: none;
}

.footer-btns {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 10px;
    padding: 20px;
}

.submit-btn {
    width: 100%;
    border-radius: 6px;
    background-color: #1d70b7;
    border: 1px solid #1d70b7;
    color: #ffffff;
    height: 2.65rem;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #155a91;
    border-color: #155a91;
    cursor: pointer;
}

.cancel-btn {
    width: 100%;
    border-radius: 6px;
    background-color: #ffffff;
    border: 1px solid #1d70b7;
    color: #1d70b7;
    height: 2.65rem;
    transition: all 0.3s ease;
}

.cancel-btn:hover {
    background-color: #f0f8ff;
    color: #155a91;
    border-color: #155a91;
    cursor: pointer;
}

@media (min-width: 992px) {
    /* lg screens and  */
    .trend-card {
        min-height: 20rem;
    }
}

/* *********************************CATEGORIES********************************** */
.category-row {
    display: flex;
    flex-direction: row;
}

.categories {
    color: #333333;
}

.share-icons {
    display: none;
    gap: 10px;
    align-items: center;
}

.share-icons.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.share-icons a {
    background-color: #002646;
    color: #fff;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s, transform 0.3s;
}

.share-icons a:hover {
    background-color: #1d70b7;
    transform: scale(1.1);
}

.share-btn {
    background-color: #002646;
    border-radius: 50%;
    color: #ffffff;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
    border: none;
}

.share-btn:hover {
    background-color: #1d70b7;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.tagsDiv {
    color: #006ef8;
    background-color: rgba(0, 110, 248, 0.12);
    border: 1px solid rgba(0, 110, 248, 0.2);
    border-radius: 6px;
}

.question-mark {
    border-radius: 50%;
    background-color: #1d70b7;
    color: #ffffff !important;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}
