/* Main Wrapper */
.td-wrapper {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    max-width: 800px;
    margin: 20px auto;
    color: #333;
}

/* Search Container */
.td-search-container {
    position: relative;
    margin-bottom: 10px;
}

#td-search-input {
    width: 100%;
    padding: 15px 15px 15px 45px; /* Space for icon */
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

#td-search-input:focus {
    border-color: #2e7d32;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.td-search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #2e7d32; /* Green icon */
    pointer-events: none;
}

.td-results-count {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 20px;
    min-height: 20px;
}

/* Table Design */
.td-table-container {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.td-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

.td-table thead {
    background-color: #e8f5e9; /* Light green header */
    color: #1b5e20;
}

.td-table th {
    text-align: left;
    padding: 18px 25px;
    font-weight: 600;
    font-size: 1.05em;
    border-bottom: 2px solid #c8e6c9;
}

.td-table tbody tr {
    transition: background-color 0.15s ease;
    border-bottom: 1px solid #f0f0f0;
}

.td-table tbody tr:last-child {
    border-bottom: none;
}

.td-table tbody tr:hover {
    background-color: #f1f8e9; /* Very light green on hover */
}

.td-table td {
    padding: 16px 25px;
    font-size: 15px;
    color: #444;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .td-table th, .td-table td {
        padding: 12px 15px;
    }
}
