﻿
body {
    font-family: 'Vazir', sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 20px;
}

.logo-section {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.1);
    max-width: 700px;
    margin: auto;
}

.post-logo {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 0 8px rgba(13, 110, 253, 0.4)); /* glow ملایم */
    transition: transform 0.3s ease;
}

    .post-logo:hover {
        transform: scale(1.1);
    }

.post-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #0d6efd;
    margin-bottom: 1rem;
    text-shadow: 0 0 5px rgba(13, 110, 253, 0.2);
}

.post-description {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.text-primary {
    font-size: 1rem;
}

.logo {
    text-align: center;
    margin-bottom: 20px;
}

    .logo img {
        width: 120px;
    }

.search-box {
    text-align: center;
    margin-bottom: 20px;
}

input[type="text"] {
    padding: 10px;
    width: 300px;
    font-size: 16px;
}

/*    button {
        padding: 10px 20px;
        font-size: 16px;
        background-color: #ffc107;
        border: none;
        cursor: pointer;
    }*/


.table-container {
    max-width: 900px;
    margin: auto;
    padding: 2rem;
    background-color: #fdfdfd;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    overflow-x: auto;
}

table#results {
    width: 100%;
    border-collapse: collapse;
}

    table#results th, table#results td {
        padding: 0.75rem;
        font-size: 1rem;
    }

.custom-search-button {
    background-color: #28a745;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 50px; /* 👈 گوشه‌های کاملاً گرد */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
}


    .custom-search-button:hover {
        background-color: #218838; /* رنگ تیره‌تر هنگام هاور */
        transform: translateY(-1px); /* حرکت کوچک برای حس کلیک‌پذیری */
    }

    .custom-search-button:active {
        background-color: #1e7e34; /* حالت فشرده‌شده */
        transform: translateY(1px);
    }


.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: nowrap;
    flex-direction: row;
}

    .pagination-container button {
        background-color: white;
        border: 2px solid #e91e63; /* صورتی شاد */
        color: #e91e63;
        padding: 6px 12px;
        border-radius: 6px;
        font-weight: bold;
        cursor: pointer;
        transition: 0.3s ease;
        font-size: 14px;
        min-width: 80px;
        white-space: nowrap;
    }

        .pagination-container button:hover {
            background-color: #e91e63;
            color: white;
        }


    .pagination-container span {
        font-weight: bold;
        font-size: 14px;
        color: #333;
        min-width: 100px;
        text-align: center;
        white-space: nowrap;
    }

@media (max-width: 480px) {
    .pagination-container {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 8px;
    }

        .pagination-container button {
            padding: 4px 8px;
            font-size: 13px;
            min-width: auto;
        }

        .pagination-container span {
            font-size: 13px;
            min-width: auto;
        }
}

