/* ==========================================================================
   1. GLOBAL & LAYOUT
   ========================================================================== */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background: #f8f9fa; /* Very clean, light background */
    color: #212529;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    align-items: center;
}

main {
    flex: 1;
    width: 90%;
    max-width: 750px;
    padding: 20px;
}

/* ==========================================================================
   2. HEADER
   ========================================================================== */
header {
    background-color: #ffffff;
    padding: 15px 5%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    border-bottom: 1px solid #e0e0e0;
}

h1 {
    margin: 0;
    font-size: 1.3rem;
    color: #2196f3;
}

.home-button {
    background-color: #2196f3;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
}

/* ==========================================================================
   3. THE DROPDOWN (Label Removed)
   ========================================================================== */
.filter-container {
    margin: 30px 0;
    display: flex;
    justify-content: center;
}

/* We hide the label entirely */
.filter-container label {
    display: none;
}

.filter-container select {
    padding: 10px 25px;
    border: 1px solid #ced4da;
    border-radius: 30px; /* Rounded pill shape for a modern look */
    background-color: #ffffff;
    font-family: inherit;
    font-weight: 600;
    color: #495057;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: border-color 0.2s;
}

.filter-container select:focus {
    outline: none;
    border-color: #2196f3;
}

/* ==========================================================================
   4. REVIEW CARDS
   ========================================================================== */
#reviews-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.review-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.04);
}

.review-card h3 {
    margin-top: 0;
    color: #2196f3;
    font-size: 1.4rem;
}

.meta {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f3f5;
}

.review-text {
    line-height: 1.7;
    font-size: 1rem;
    color: #343a40;
}

/* ==========================================================================
   5. COMMENTS & BUTTONS
   ========================================================================== */
.comment-card {
    background: #f1f3f5;
    padding: 15px;
    margin-top: 15px;
    border-radius: 8px;
    font-size: 0.9rem;
}

.comment-input {
    width: 100%;
    padding: 12px;
    margin: 20px 0 10px 0;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-sizing: border-box;
    font-family: inherit;
}

.button, .comment-button {
    background-color: #2196f3;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.comment-button {
    background-color: #28a745; /* Clean green for comments */
    padding: 8px 16px;
    font-size: 0.85rem;
}
