﻿/* Global Styles */
.container {
    display: flex;
    gap: 20px;
    direction: rtl;
    flex-wrap: wrap;
}

.title-container {
    text-align: center;
    margin-bottom: 20px;
    background-color: var(--global-color)
}

.lbl-primary {
    color: var(--global-color);
    font-weight: 600;
    text-align: center;
}

.offer-title {
    font-size: xx-large;
    color: white
}

.rtl-layout {
    direction: rtl;
}

.lbl-search {
    color: var(--global-color);
    font-weight: 600;
    text-align: start;
}

/* List styling */
ul {
    list-style: none;
}

    ul li a {
        text-decoration: none;
        color: #333;
        font-size: 16px;
        font-weight: 600;
        display: block;
        border-radius: 4px;
        text-align: start;
        transition: all 0.3s;
    }

        ul li a:hover {
            color: #cb9600db;
            text-decoration: none;
        }

/* Search Form Styling */
.search-form-container {
    flex: 1 1 300px;
    max-width: 300px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.search-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.search-form input[type="search"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #cb9600db;
    border-radius: 4px;
    margin-bottom: 10px;
}

.search-form button {
    width: 100%;
    padding: 10px;
    background-color: #cb9600db;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
}

    .search-form button:hover {
        background-color: #cb9600;
    }

/* Report Section Styling */
.report-container {
    flex: 3 1 600px;
}

.report-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.report-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.offerdetails-img img {
    width: 100%;
    height: 200px;
    object-fit: fill;
}

.report-content {
    padding: 15px;
}

    .report-content h6 {
        margin: 0px;
    }

    .report-content h4 {
        padding-top: 10px;
        padding-bottom: 10px;
        text-align: start;
    }

        .report-content h4 a {
            color: #cb9600db;
            text-decoration: none;
            font-weight: bold;
        }

    .report-content p {
        color: #555;
        text-align: start;
    }

    .report-content .text-primary a {
        color: #cb9600db;
        text-decoration: underline;
        font-weight: bold;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    .search-form-container, .report-container {
        max-width: 100%;
    }

    .report-cards {
        grid-template-columns: 1fr;
    }
}
