﻿/* General Styles */
.enquiry-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.enquiry-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 300px;
    padding: 15px;
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}

    .enquiry-card:hover {
        transform: scale(1.05);
    }

.enquiry-header {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    color: #333;
    font-weight: bold;
    margin-bottom: 10px;
}

.enquiry-body {
    font-size: 14px;
    color: #555;
}

.btn-link {
    background-color: transparent;
    border: none;
    color: #007bff;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

.description-full {
    margin-top: 10px;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
}

.no-enquiries {
    text-align: center;
    font-size: 16px;
    color: #888;
}

/* Filter Form Styling */
.filter-form {
    margin-bottom: 20px;
}

/* Responsive Styles */
@media (max-width: 767px) {
    .enquiry-container {
        flex-direction: column;
        gap: 10px;
    }

    .enquiry-card {
        width: 100%; /* Full width on mobile */
        padding: 10px;
        margin-bottom: 10px;
    }

    .enquiry-header {
        font-size: 14px;
        flex-direction: column;
        text-align: center;
    }

    .enquiry-body {
        font-size: 12px;
    }

    .btn-link {
        font-size: 12px;
    }

    .description-full {
        font-size: 12px;
    }

    .no-enquiries {
        font-size: 14px;
    }

    /* Make the filter form smaller and aligned */
    .filter-form {
        margin-top: 10px;
    }

    .form-group label {
        font-size: 14px;
    }

    .btn-primary {
        font-size: 14px;
        padding: 8px 12px;
    }
}

/* For larger screens (Tablets and above) */
@media (min-width: 768px) {
    .filter-form {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .form-group label {
        font-size: 16px;
    }

    .btn-primary {
        font-size: 16px;
        padding: 10px 15px;
    }
}
