.search-title {
    font-size: 26px;
    font-weight: bold;
    color: #770415;
    margin-bottom: 10px;
}

.search-box {
    border: 2px solid #FF5700;
    background-color: #fff;
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.form-group {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    color: #770415;
    margin-bottom: 0px !important;
    /* dark red labels */
}

.form-group label {
    white-space: nowrap;
}

.form-group select {
    padding: 4px 6px;
    font-size: 14px;
    background: rgba(255,255,255,0.15) !important;
    border-radius: 2px !important;
    border: 1px solid #666 !important;
}

.go-btn {
    background: #FF5700;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    padding: 8px 18px;
    cursor: pointer;
    font-size: 15px;
}

/* Responsive: stack on mobile */
@media (max-width: 768px) {
    .search-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-group {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .form-group label {
        margin-bottom: 5px;
    }

    .form-group select {
        width: 100%;
    }

    .go-btn {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
}

.advz-search {
    padding: 30px;
}


table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table th,
table td {
    border: 1px solid #7a7a7a;
    padding: 10px;
    text-align: center;
}

table th {
    background-color: #FF5700;
    color: white;
    font-weight: bold;
}

table tr:nth-child(even) {
    background-color: #fff;
    /* light green */
}

td, td a {
    color: #770415;
    font-weight: bold;
}

td img {
    max-width: 120px;
    height: auto;
    border: 1px solid #ccc;
    border-radius: 6px;
}

/* Mobile Responsive */
@media (max-width: 768px) {

    table,
    thead,
    tbody,
    th,
    td,
    tr {
        display: block;
        width: 100%;
    }

    thead {
        display: none;
    }

    tr {
        margin-bottom: 15px;
        border: 2px solid #006600;
        border-radius: 8px;
        padding: 10px;
        background: #f9fff5;
    }

    td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px;
        border: none;
        border-bottom: 1px solid #ddd;
        text-align: left;
    }

    td:last-child {
        border-bottom: none;
    }

    td::before {
        content: attr(data-label);
        font-weight: bold;
        color: #004400;
        flex: 1;
        text-align: left;
    }

    td img {
        max-width: 100px;
    }
}

.adv-search-data {
    padding: 0 30px;
}

#pagination button.active {
    background-color: #FF5700;
    color: white;
    border-color: #FF5700;
}
