/* ======================================================
   FIEO SEARCH PANEL (EXACT LOOK)
====================================================== */

.fieo-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
}

/* TITLE */
.fieo-main-title {
    text-align: center;
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: bold;
}

/* BLUE SEARCH BOX */
.fieo-search-panel {
    background: #05a9e8;
    padding: 25px 30px;
    border-radius: 10px;
}

/* SEARCH ROW */
.fieo-search-row {
    display: grid;
    grid-template-columns: 300px 1fr 90px 80px;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

/* LEFT LABEL */
.fieo-search-label {
    color: #ffffff;
    font-size: 15px;
    line-height: 1.3;
}

/* INPUT */
.fieo-input {
    height: 38px;
    padding: 6px 12px;
    border-radius: 6px;
    border: none;
    outline: none;
    font-size: 14px;
    color: #000;
    background: #fff;
}

.fieo-input::placeholder {
    color: #777;
}

/* SELECT */
.fieo-select {
    height: 38px;
    border-radius: 6px;
    border: none;
    font-size: 14px;
}

/* SEARCH BUTTON */
.fieo-btn {
    height: 38px;
    background: #1c6ed5;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
}

.fieo-btn:hover {
    background: #155bb5;
}

/* ======================================================
   RESULTS SECTION
====================================================== */

/* ===============================
   FIEO SEARCH RESULT CARD
================================ */

.fieo-results-wrap {
    background: #e9f9fb;
    border-radius: 10px;
    padding: 20px;
    margin-top: 25px;
    border: 1px solid #cdebf3;
}

/* RESULT TITLE */
.fieo-result-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

/* COUNT */
.fieo-count {
    font-size: 14px;
    margin-bottom: 12px;
}

/* ===============================
   TABLE (EXACT FIEO GRID)
================================ */

.fieo-results {
    width: 100%;
    border-collapse: collapse;
    background: #e9f9fb;
    font-size: 13px;
}

.fieo-results th,
.fieo-results td {
    border: 1px solid #cdebf3;
    padding: 10px;
    vertical-align: top;
    color: black;
}

.fieo-results th {
    background: #0b6bd3;
    color: #fff;
    font-weight: bold;
}

.fieo-results tr:nth-child(even) td {
    background: #f3fcfe;
}

/* LINKS */
.fieo-results a {
    color: #0b6bd3;
    text-decoration: none;
}

.fieo-results a:hover {
    text-decoration: underline;
}

/* ===============================
   STAR RATING
================================ */

.fieo-stars {
    color: #f4b400;
    font-size: 18px;
    letter-spacing: 1px;
}

/* ===============================
   PAGINATION
================================ */

.fieo-pagination {
    margin-top: 15px;
    text-align: center;
}

.fieo-page {
    display: inline-block;
    padding: 6px 10px;
    margin: 2px;
    border: 1px solid #bcdff1;
    background: #e9f9fb;
    color: #0b6bd3;
    cursor: pointer;
    font-size: 13px;
}

.fieo-page.active {
    background: #0b6bd3;
    color: #fff;
    font-weight: bold;
}

@media (max-width: 768px) {

    .fieo-search-row {
        grid-template-columns: 1fr;
    }

    .fieo-btn {
        width: 120px;
    }
}


/* Improve mobile spacing */
@media (max-width: 768px) {

    .fieo-results {
        margin: 0 -12px; /* edge-to-edge feel */
        padding: 0 12px;
    }

    .fieo-results table {
        font-size: 13px;
    }

    .fieo-results th,
    .fieo-results td {
        padding: 8px 6px;
        vertical-align: top;
    }
    /* ================================
   MOBILE FIX: SEARCH RESULT TABLE
================================ */

/* Wrapper safety */
.fieo-results,
.fieo-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-self: center;
}

/* Table should not squeeze */
.fieo-results table {
    width: 100%;

}

/* Prevent text breaking layout */
.fieo-results th,
.fieo-results td {
    white-space: normal;
    word-break: auto-phrase;
    max-width: 90px;
}

}