
.attorney-cards-container {
    margin: 2rem 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
@media (max-width: 768px) {
    .attorney-cards-container {
        grid-template-columns: 1fr;
    }
}
.attorney-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.2s ease;
    cursor: pointer;
}
.attorney-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
    border-color: #3498db;
}
.attorney-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}
.attorney-name {
    font-size: 1.25rem;
    font-weight: bold;
    color: #2c3e50;
    text-decoration: none;
}
.attorney-name:hover {
    color: #3498db;
}
.attorney-firm {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}
.attorney-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}
.attorney-stat {
    display: flex;
    flex-direction: column;
}
.attorney-stat-label {
    color: #7f8c8d;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.attorney-stat-value {
    font-size: 1.1rem;
    font-weight: bold;
    color: #2c3e50;
    margin-top: 0.25rem;
}
.win-rate-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: bold;
}
.win-rate-high {
    background: #d4edda;
    color: #155724;
}
.win-rate-medium {
    background: #fff3cd;
    color: #856404;
}
.win-rate-low {
    background: #f8d7da;
    color: #721c24;
}
.side-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.side-petitioner {
    background: #cce5ff;
    color: #004085;
}
.side-respondent {
    background: #f8d7da;
    color: #721c24;
}
.side-both {
    background: #e2e3e5;
    color: #383d41;
}
/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}
.pagination button {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}
.pagination button:hover:not(:disabled) {
    background: #f0f0f0;
    border-color: #3498db;
}
.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.pagination button.active {
    background: #3498db;
    color: white;
    border-color: #3498db;
}
.pagination .page-info {
    padding: 0.5rem 1rem;
    color: #666;
}
.attorney-search {
    margin: 0 0 2rem 0;
    width: 100%;
    display: block;
}
.attorney-search input {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 1rem 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    background: #ffffff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}
.attorney-search input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15), 0 10px 24px rgba(15, 23, 42, 0.12);
}
.results-summary {
    margin: 1rem 0;
    color: #666;
    font-size: 0.95rem;
}
