.project-roles-tabs {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.project-roles-add-btn {
    width: 8.5rem;
    position: absolute;
    right: 6px;
}

.workflows-add-btn {
    width: 8.5rem;
    position: absolute;
    right: 6px;
}

.submit-execution-btn {
    width: 14rem;
    position: absolute;
    right: 6px;
}
.sdtm-header-buttons {
    display: flex;
    gap: 1rem;
    position: absolute;
    right: 6px;
}

.project-roles-create-modal-body {
    display: flex;
    flex-wrap: wrap;
    gap: 0.925rem;
    color: var(--text-gray-color);
    width: 33.75rem;
}

.project-role-edit-content * {
    font-size: 1rem;
}

.project-role-edit-content {
    border-collapse: separate;
    border-spacing: 0 1rem;
    width: 100%;
}

.project-role-edit-content tr .title-td {
    padding-right: 3rem;
    padding-left: 1rem;
    color: gray;
    width: 15%;
}

.project-role-edit-content tr .value-td {
    width: 85%;
    word-wrap: break-word;
}

.sdtm-edit-content tr .value-td {
    width: 70% !important;
}

.input-subtitle {
    font-weight: 300;
}

.subtitled-input-container {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.subtitled-input-container > span {
    padding-left: 0.1rem;
}

.project-role-edit-content .dd-combobox {
    max-width: unset !important;
}

.default-details-check input {
    width: 1.25rem;
    height: 1.25rem;
}

.project-details-header {
    margin-bottom: 2rem;
}

.project-tools {
    margin-left: auto;
}

.project-details-header,
.edit-details-left-btns {
    display: flex;
    align-items: center;
}

.details-title,
.project-details-header span {
    font-size: 1.6rem;
    height: 2.25rem;
}

.edit-details-short-btns {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.details-sub-title {
    margin-left: 0.5rem;
    color: var(--text-gray-color);
}

.edit-details-short-top-title {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.sdtm-run-gen-modal-body {
    display: flex;
    flex-wrap: wrap;
    gap: 0.925rem;
    color: var(--text-gray-color);
    width: 33.75rem;
}

.sdtm-run-gen-modal-row {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.wft-data-checkboxes {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
}

.sdtm-run-gen-modal-row .dd-combobox {
    max-width: unset !important;
}

.sdtm-run-logs-modal-body {
    display: flex;
    flex-wrap: wrap;
    gap: 0.925rem;
    color: var(--text-gray-color);
    width: 55rem;
    height: 45rem;
}

.sdtm-run-logs-buttons {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: 3rem;
    justify-content: space-between;
}

.sdtm-run-logs-buttons > div {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sdtm-run-logs-buttons .gwt-Label {
    white-space: nowrap;
}

.unblinded-badge {
    width: auto !important;
}

.r-code-toolbar {
    padding: 8px;
    background: #f8f9fa;
    border-radius: 6px;
    align-items: center;
    float: right;
}

.r-status-badge {
    margin-left: 8px;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 12px;
    background: #e9ecef;
    color: #212529;
}

.r-code-panel {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.r-code-container {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, "Roboto Mono", "Courier New", monospace;
    border-radius: 6px;
    padding: 12px;
    overflow: auto;
    background: #0b1220;
    color: #e6eef6;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.r-code-pre {
    display: block;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    white-space: pre-wrap;
    overflow: auto;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    vertical-align: middle;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.status-new {
    background: #eef6ff;
    color: #0b5ed7;
    border-color: rgba(11, 94, 215, 0.12);
}

.status-new .status-dot {
    background: #0b5ed7;
}

.status-in-progress {
    background: #fff7e6;
    color: #d97706;
    border-color: rgba(217, 119, 6, 0.12);
}

.status-in-progress .status-dot {
    background: #d97706;
}

.status-done {
    background: #eef7ed;
    color: #198754;
    border-color: rgba(25, 135, 84, 0.12);
}

.status-done .status-dot {
    background: #198754;
}

.status-failed {
    background: #fff1f2;
    color: #dc3545;
    border-color: rgba(220, 53, 69, 0.12);
}

.status-failed .status-dot {
    background: #dc3545;
}

.status-unknown {
    background: #f5f5f5;
    color: #6c757d;
    border-color: rgba(108, 117, 125, 0.12);
}

.status-unknown .status-dot {
    background: #6c757d;
}

.stdm-edit-run-buttons {
    display: flex;
    gap: 0.5rem;
    position: absolute;
    right: 6px;
}

.blue-cell-badge > div {
    background-color: lightcyan !important;
    color: cadetblue;
    padding: 0.25rem 0.6rem;
    text-align: center;
    width: fit-content;
    border-radius: 0.25rem;
}

.yellow-cell-badge > div {
    color: orange !important;
}

.spinner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background: none;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner-overlay-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}

.project-input {
    flex-wrap: wrap;
    display: flex;
    flex: 1 1 auto !important;
    align-items: baseline;
    gap: 0.25rem;
}

.project-input > label.form-label {
    width: 10rem;
}

.project-input > input {
    width: 40rem;
}

.project-input > select {
    width: 40rem;
}

.project-input > textarea {
    width: 40rem;
}

.project-input > .invalid-feedback {
    padding-left: 10.25rem;
}

.bi-spinner {
    width: 1em;
    height: 1em;
    border: 4px solid var(--bs-primary);
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
