body {
    background-color: #f8f9fa;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    margin-top: 50px;
    padding: 20px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.button-group {
    display: flex;
    gap: 10px;
}

.purchase-item {
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
}

.purchase-item strong {
    display: block;
}

.purchase-item button {
    margin-top: 10px;
}

.login-container,
.register-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 20px;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #f1f1f1;
    position: fixed;
    bottom: 0;
    width: 100%;
}

footer hr {
    margin: 0;
    border: none;
    border-top: 1px solid #ccc;
}

footer p {
    margin: 10px 0 0 0;
    font-size: 14px;
}

footer a {
    color: #007bff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .container {
        padding: 10px;
    }

    .purchase-item {
        padding: 5px 0;
    }

    .purchase-item strong {
        font-size: 18px;
    }

    .purchase-item button {
        font-size: 18px;
        padding: 5px 10px;
    }

    .login-container,
    .register-container {
        margin: 50px auto;
        padding: 10px;
    }

    .card {
        padding: 10px;
    }

    .form-group label {
        font-size: 14px;
    }

    .form-control {
        font-size: 14px;
        padding: 10px;
    }

    .btn {
        font-size: 14px;
        padding: 10px;
    }
}

.hidden {
    display: none;
}

.dropdown-content {
    position: absolute;
    background-color: #f9f9f9;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ccc;
    border-radius: 4px;
    top: 100%; /* Position below the input field */
    left: 0;
}

.dropdown-item {
    padding: 12px 16px;
    cursor: pointer;
}

.dropdown-item:hover {
    background-color: #f1f1f1;
}

.custom-alert {
    position: fixed;
    top: 20px;
    right: 20%;
    background-color: #4CAF50; /* Green */
    color: white;
    padding: 15px;
    border-radius: 5px;
    z-index: 1000;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-size: 16px;
}

#search-results {
    min-height: 200px; /* or any suitable height */
    overflow-y: auto;
    overflow: auto;
}