.modal-xl {
    max-width: 95vw;
    margin: 15px auto;
}

#fullScreenModal .modal-content {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
}

#fullScreenModal .modal-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

#fullScreenModal .table-responsive {
    flex: 1;
    min-height: 0;
    height: auto !important;
}

#fullScreenModal table {
    height: 100%;
}

#fullScreenModal tbody {
    min-height: 200px;
}

#fullScreenModal .modal-header {
    padding: 0.75rem 1rem;
}

#fullScreenModal .p-3 {
    padding: 0.75rem !important;
}

/* Foreign Key Browser Modal */
#foreignKeyBrowserModal .table {
    margin-bottom: 0;
}

#foreignKeyBrowserModal thead tr {
    position: sticky;
    top: 0;
    z-index: 2;
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

#foreignKeyBrowserModal th {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0.5rem;
    position: relative;
    min-width: 100px;
    background-color: #f8f9fa;
    color: #495057;
    font-weight: 500;
    border-bottom: 2px solid #dee2e6;
}

#foreignKeyBrowserModal td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0.5rem;
    vertical-align: middle;
}

#foreignKeyBrowserModal tbody tr:hover {
    background-color: rgba(0,0,0,0.075) !important;
    cursor: pointer;
}

#foreignKeyBrowserModal .table-striped > tbody > tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.02);
}

#foreignKeyBrowserModal .table-bordered {
    border: 1px solid #dee2e6;
}

#foreignKeyBrowserModal .table-bordered th,
#foreignKeyBrowserModal .table-bordered td {
    border: 1px solid #dee2e6;
}

/* Cell Content Modal */
#cellContentText {
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 70vh;
    overflow-y: auto;
}

/* Foreign Key Display */
.foreign-key-display {
    display: inline-block;
    margin-right: 10px;
    font-weight: bold;
}

.foreign-key-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Form Elements in Modals */
.form-select-sm {
    font-size: 0.875rem;
    padding: 0.25rem 2rem 0.25rem 0.5rem;
} 