body {
    font-family: "微軟正黑體", sans-serif;
    background: #f0f0f0;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 900px;
    margin: 40px auto;
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

h1 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
}

form {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

select, input[type="text"], button {
    padding: 8px 12px;
    font-size: 14px;
}

.group {
    background: #f5f5f5;
    padding: 8px 12px;
    font-weight: bold;
    margin-top: 16px;
    border-left: 5px solid #007bff;
    cursor: pointer;
}

.drops-table-wrapper {
    max-height: 240px;
    overflow-y: auto;
    margin-bottom: 10px;
    display: none;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

th, td {
    border: 1px solid #ccc;
    padding: 6px 8px;
}

th {
    background: #eaeaea;
}

.footer {
    text-align: center;
    margin-top: 30px;
}



.loader {
    text-align: center;
    background: white;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.loader img {
    width: 50px;
    height: 50px;
}

.loader p {
    margin-top: 10px;
    font-size: 16px;
}
.intro {
    font-size: 13px;
    color: #888;
    text-align: center;
    margin-top: -10px;
    margin-bottom: 20px;
}
#footer-fixed {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    text-align: center;
    padding: 10px 0;
    font-size: 13px;
    color: #444;
    border-top: 1px solid #ccc;
    z-index: 999;
}

#footer-fixed a {
    text-decoration: none;
    color: #007bff;
}

table thead th {
    position: sticky;
    top: 0;
    background: #eaeaea;
    z-index: 2;
}

.drops-table-wrapper {
    position: relative !important;
    background-color: #ffffff !important;
    z-index: 0 !important;
}

.sticky-thead th {
    position: sticky !important;
    top: 0;
    background-color: #ffffff !important;
    color: #000 !important;
    z-index: 10 !important;
    box-shadow: 0 2px 3px rgba(0,0,0,0.05);
}
