.SongPage {
    input.warning {
        color: var(--error-100);
        border: 1px;
        border-style: solid;
    }

    .Select__input-container,
    .Select__single-value {
        font-weight: 300;
        font-size: 1rem;
        color: var(--gray-900);
        border: none;
        padding: 0;
    }

    .Select__control {
        border: none;
    }

    .Select__value-container {
        padding: 0;
        min-width: 120px;
    }

    input::placeholder {
        color: var(--gray-800);
        font-weight: 300;
        font-size: 1rem;
    }

    .Alert-text {
        font-weight: bold;
    }

    .DeliveryPage {
        .DeliveryTable {
            &-cell-delivery-date {
                display: flex;
                justify-content: end;
            }

            &-cell-download {
                .DownloadFileCell {
                    display: flex;
                    align-content: center;
                }

                .DownloadGlyphIcon {
                    margin-right: 4px;
                    margin-top: 2px;

                    path {
                        fill: var(--info-100);
                    }
                }
            }
        }
    }

    .InstancesPage {
        .InstancesTable {
            .GridTable-header {
                &-right {
                    .instance-help {
                        display: flex;
                        &-title {
                            font-size: 12px;
                            line-height: 18px;
                            font-weight: 400;
                            color: var(--gray-700);
                            margin-left: 3px;
                        }
                    }
                }
            }
            &-cell-title {
                .NameVersionCell {
                    width: 100%;
                    display: flex;
                    flex-direction: row;
                    justify-content: space-between;
                    align-items: center;

                    .NameVersionCellTitle {
                        width: 95%;

                        .NameVersionCellIsrc {
                            color: var(--gray-700);
                            font-weight: 400;
                            font-size: 12px;
                        }
                    }

                    .Tooltip {
                        path {
                            fill: var(--info-100);
                        }
                    }
                }
            }

            &-cell-number {
                background: var(--gray-100);
            }

            &-cell-product-info {
                .ProductInfoNameCell {
                    width: 100%;
                    display: flex;
                    flex-direction: column;

                    .ProductInfoCell {
                        color: var(--gray-700);
                        font-weight: 400;
                        font-size: 12px;
                    }
                }
            }

            &-cell-account-name {
                .AccountNameCell {
                    display: flex;
                    flex-direction: column;
                }
            }
        }

        .InstancesFilters {
            display: flex;
            padding-bottom: 20px;

            .AccountNameDropdown {
                margin-right: 0.8rem;
                width: 300px;
                border-radius: 0.25rem;
                border: 1px solid var(--gray-400);

                .Dropdown-option {
                    margin-left: 0.8rem;
                }

                .Select__indicator {
                    color: var(--gray-700);
                }

                .Select__placeholder {
                    margin-left: 0.8rem;
                }

                .Select__input {
                    margin-left: 0.6rem !important;
                }
            }
            &-control-group {
                display: flex;
                width: 190px;
                .btn {
                    position: relative;
                    pointer-events: auto;
                    cursor: pointer;
                    z-index: 1;
                    left: -56px;

                    .close-glyph {
                        path {
                            stroke: var(--dividers-default);
                            stroke-width: 1;
                            fill: var(--dividers-default);
                        }
                    }
                }
            }
            &-upc-filter {
                margin-right: 0.8rem;
                width: 180px;
                height: 42px;
                border-radius: 0.25rem;
                border: 1px solid var(--gray-400);
            }
            &-upc-filter::placeholder {
                color: var(--gray-700);
            }
        }
    }

    .RightsPage {
        .RightsTable {
            margin-top: 20px;
            border-radius: 0.214rem;
            box-shadow: 0 0 0.357rem rgba(0 15 23 / 20%);

            .CountryFlag {
                margin-right: 0.8rem;
            }

            &-cell-country-name-default-color {
                &.sorted-0 {
                    background-color: inherit;
                }
                .GlyphIcon {
                    display: none;
                }
            }
        }

        .RightsFilters {
            display: flex;

            .CountryNameDropdown,
            .AccountNameDropdown {
                margin-right: 0.8rem;
                width: 300px;
                border-radius: 0.25rem;
                border: 1px solid var(--gray-400);

                .Dropdown-option {
                    margin-left: 0.8rem;
                }

                .Select__indicator {
                    color: var(--gray-700);
                }

                .Select__placeholder {
                    margin-left: 0.8rem;
                }

                .Select__input {
                    margin-left: 0.6rem !important;
                }
            }
        }
    }
}

.GridTable-cell.fixed,
.GridTable-column.fixed {
    box-shadow: 5px 0 5px -2px rgb(28 28 28 / 15%) !important;
}

.GridTable-cell {
    padding: 1rem;
}

.GridTable-column-container {
    align-items: flex-end;
}

.MetadataPopup {
    .ReactModal-content {
        width: 80%;
    }

    .ReactModal-header {
        box-shadow: 0 5px 5px rgb(28 28 28 / 15%) !important;
    }

    .ReactModal-body {
        padding: 0;
    }

    &-sub-header {
        color: var(--gray-700);
        padding: 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        .MetadataPopup-reference-btn {
            padding: 0;
        }
    }

    &-separator {
        border-top: 1px solid var(--dividers-light-stroke);
    }

    &-contributors {
        .ContributorsTable {
            &-cell-number {
                background: var(--gray-100);
            }
        }
    }

    &-main-body {
        padding: 20px;
    }

    &-sound-recording {
        display: flex;
        flex-direction: row;
    }

    &-basics {
        width: 100%;
        margin-right: 10px;
    }

    &-metadata {
        width: 100%;
        margin-left: 10px;
    }

    &-title {
        margin-bottom: 1rem;
        border: none;
        font-weight: 400;
        line-height: 24px;
        font-size: 18px;
        color: var(--gray-900);
        display: flex;
    }

    &-item {
        align-items: center;
        display: grid;
        grid-template-columns: 60% 40%;
        column-gap: 5px;
    }

    &-item-key {
        color: var(--gray-600);
        font-weight: 500;
        text-transform: uppercase;
        font-size: 12px;
        line-height: 18px;
        letter-spacing: 0.05rem;
        align-items: center;
        display: flex;
        min-width: 0;
    }

    &-item-value {
        color: var(--gray-900);
        font-weight: 300;
        font-size: 1rem;
        border: none;
        width: 100%;
        padding: 0.65rem 0;
    }

    &-block {
        align-items: center;
        display: grid;
        grid-template-columns: 50% 50%;
        column-gap: 5px;

        &-item-left {
            align-items: center;
            display: grid;
            grid-template-columns: 55% 45%;
            column-gap: 5px;
        }

        &-item-right {
            margin-left: 1.9rem;
            align-items: center;
            display: grid;
            grid-template-columns: 60% 40%;
            column-gap: 5px;
        }
    }

    &-reference-confirmation {
        padding: 22px;
    }
}

.ReferenceChangeConfirmation {
    font-size: 1rem;

    &-content {
        line-height: 1.7;
    }

    &-fields {
        padding: 14px 0 14px 24px;
    }

    &-buttons {
        display: flex;
        justify-content: space-between;
    }
}

.card {
    border-radius: 0.214rem;
    box-shadow: 0 0 0.357rem rgb(0 15 23 / 20%);
    margin-bottom: 1.429rem;
    overflow-x: hidden;
    padding: 1.429rem;
}

.Alert {
    padding: 5px;
}

.PillPopoverContent {
    gap: 10px;
    padding: 12px;
    width: 210px;
}

.RightsTable-cell-rights-per-country-popover-content-title {
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0;
    margin-bottom: 15px;
}

.RightsTable-cell-rights-per-country-popover-wrapper {
    display: flex;
    flex-direction: row;
}

.RightsTable-cell-rights-per-country-popover-content-label {
    align-items: center;
    display: flex;
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    letter-spacing: 1px;
    gap: 8px;
    text-transform: uppercase;
    width: 132px;
}

.RightsTable-cell-rights-per-country-popover-content-value {
    align-items: flex-start;
    display: flex;
    gap: 4px;
    height: 24px;
    padding: 2px 0;
    margin-left: 20%;
}
