body {
    font-family: Poppins, sans-serif;
    margin: 0;
    padding: 0 0 40px;
    /* only bottom padding remains */
    min-height: 100vh;
    background-color: #BE5998;
    /* main background */
    color: #ffffff;
    /* text */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

h1 {
    font-family: 'Lobster', cursive;
    color: #FFFFFF;
    text-align: center;
    background: #8414A6;
    /* top header gradient */
    width: 100%;
    padding: 24px 0;
    margin: 0 0 24px;
    font-weight: 100;
    background-image: radial-gradient(circle, rgba(245, 245, 245, 0.1) 1px, transparent 1px);
    background-size: 10px 10px;
    border-bottom: 1px solid #ffa6d2;
}

.controls {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.button-wrapper {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.controls label {
    margin-right: 8px;
}

.date-wrapper {
    position: relative;
    display: inline-block;
}

.controls input[type="date"] {
    padding: 4px;
    border: 2px solid #FF00CC;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    background-color: #FFFFFF;
    color: #3B0764;
}

.controls input[type="date"]:focus {
    outline: none;
    border-color: #FF00CC;
    box-shadow: 0 0 10px #FF00CC, 0 0 20px rgba(255, 0, 204, 0.5);
}

button {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    /* color: #000000; */
    font-weight: bold;
    /* border: 2px solid #1b2464; */
}

#searchBtn {
    background-color: #28A745;
    /* green family */
    color: #FFFFFF;
    border: 2px solid #28A745;
    transition: all 0.3s ease;
}

#searchBtn:hover {
    background-color: #218838;
    box-shadow: 0 0 8px rgba(40, 167, 69, 0.4);
}


#resetBtn {
    background-color: #DC3545;
    /* red family */
    color: #FFFFFF;
    border: 2px solid #DC3545;
    transition: all 0.3s ease;
}

#resetBtn:hover {
    background-color: #C82333;
    box-shadow: 0 0 8px rgba(220, 53, 69, 0.4);
}

#resultsTable {
    border-collapse: collapse;
    width: calc(100% - 40px);
    /* leave space on sides */
    max-width: 360px;
    /* restrict overall width */
    margin: 0 auto 20px;
    background-color: #FFFFFF;
    /* card/table body */
    border: 2px solid #ffa6d2;
    /* neon border */
}


#resultsTable th,
#resultsTable td {
    border: 1px solid #ffa6d2;
    /* neon pink border */
    padding: 8px;
    text-align: center;
}

#resultsTable td {
    color: #ffffff;
    font-weight: bold;
    background-color: #BE5998;
}
#resultsTable tbody tr:hover {
    background-color: #FFF0FF;
}

#resultsTable th {
    background-color: #8414A6;
    color: #FFFFFF;
    padding: 12px 8px;
}

@media (max-width: 600px) {
    body {
        padding: 0 0 40px;
    }

    .controls {
        gap: 8px;
    }

    .date-wrapper,
    .button-wrapper {
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 8px;
        flex-wrap: wrap;
    }

    .controls input {
        font-family: 'Poppins', sans-serif;
        font-size: 16px;
    }

    #resultsTable,
    #resultsTable th,
    #resultsTable td {
        font-size: 14px;
    }
}