.lei-search-container {
    margin: 20px 0;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.lei-search-box {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

#lei-search-input {
    flex: 1 !important;
    width: 100% !important;
    padding: 12px;
    margin-right: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

#lei-search-button {
    padding: 12px 24px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

#lei-search-button:hover {
    background-color: #0056b3;
}

/* Results Table Styling */
.lei-results-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.lei-results-table th,
.lei-results-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.lei-results-table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.lei-results-table tr:hover {
    background-color: #f5f5f5;
}

/* Details View Styling */
#lei-entity-details {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.lei-details-header {
    margin-bottom: 20px;
}

#lei-back-button {
    padding: 8px 16px;
    background-color: #6c757d;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#lei-back-button:hover {
    background-color: #5a6268;
}

.lei-details-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.lei-details-table th,
.lei-details-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.lei-details-table th {
    width: 200px;
    background-color: #f8f9fa;
    font-weight: 600;
}

.view-details {
    padding: 6px 12px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.view-details:hover {
    background-color: #218838;
}