/* Results Table Styles */

.results-section {
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.results-section h2 {
    color: #2d3748;
    font-size: 2rem;
    margin-bottom: 15px;
    text-align: center;
    flex-shrink: 0;
}

.results-count {
    text-align: center;
    color: #718096;
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding: 12px;
    background: #f7fafc;
    border-radius: 10px;
    flex-shrink: 0;
}

#resultsContainer {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 5px;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.results-table thead {
    background: #2D5F3F;
    color: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

.results-table th {
    padding: 18px 12px;
    text-align: center;
    font-weight: 600;
    font-size: 1.05rem;
    white-space: nowrap;
}

.results-table td {
    padding: 15px 10px;
    border-bottom: 1px solid #e5e7eb;
    text-align: center;
    font-size: 0.95rem;
}

.results-table tbody tr:hover {
    background: #e8f3ee;
}

.results-table .center-name {
    text-align: left;
    font-size: 0.9rem;
    max-width: none;
    word-wrap: break-word;
}

.voter-info-btn {
    background: #2D5F3F;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Li Shadhinata V2';
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
    white-space: nowrap;
}

.voter-info-btn:hover {
    background: #1a3d2b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
