.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-details {
    width: 80%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    background-color: #212529;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.popup-details .card-header {
    background-color: #212529;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.popup-details .card-header h2 {
    margin-bottom: 0;
    font-size: 1.75rem;
}

.popup-details .card-body {
    padding: 1.25rem;
    background-color: #212529;
}

.popup-details .table {
    margin-bottom: 0;
}

.popup-details .table td {
    padding: 0.5rem 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    vertical-align: middle;
}

/* Prevent text wrapping in labels */
.popup-details .text-end {
    white-space: nowrap;
}

/* Enable text wrapping in value cells */
.popup-details .col-7 {
    word-break: break-word;
}

.organization-name {
    color: #007bff;
    text-decoration: none;
    cursor: pointer;
    padding: 2px 4px;
    border-radius: 3px;
}

.organization-name:hover {
    background-color: rgba(0, 123, 255, 0.1);
}

/* Add hover effect for entire organization row */
table.organization-table tr.organization-row:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
    transition: background-color 0.2s ease;
}

/* Make sure all table cells in the row also get the hover effect */
table.organization-table tr.organization-row:hover td {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

/* Override any Bootstrap table hover styles */
.table-hover tbody tr:hover td,
.table tbody tr:hover td {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

/* Prevent blinking cursor and unwanted focus effects */
.organization-table,
.organization-table *,
.organization-row,
.organization-row * {
    outline: none !important;
    caret-color: transparent !important;
}

/* Ensure the entire document doesn't show unwanted focus indicators */
body:focus, 
div:focus,
table:focus,
tr:focus,
td:focus {
    outline: none !important;
    caret-color: transparent !important;
} 