.vcd-screen-picker-modal {
    padding: 1em;
}

.vcd-screen-picker-header-close-button {
    margin-left: auto;
}

.vcd-screen-picker-venmic-settings {
    display: grid;
    gap: 8px;
}

.vcd-screen-picker-footer {
    display: flex;
    gap: 1em;
}

.vcd-screen-picker-card {
    flex-grow: 1;
}


/* Screen Grid */
.vcd-screen-picker-screen-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2em 1em;
}

.vcd-screen-picker-screen-radio {
    appearance: none;
    cursor: pointer;
}

.vcd-screen-picker-screen-label {
    overflow: hidden;
    padding: 8px;
    cursor: pointer;
    display: grid;
    justify-items: center;
}

.vcd-screen-picker-screen-label:hover {
    outline: 2px solid var(--brand-500);
}

.vcd-screen-picker-screen-name {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    text-align: center;
    font-weight: 600;
    margin-inline: 0.5em;
}

.vcd-screen-picker-card {
    padding: 0.5em;
    box-sizing: border-box;
}

.vcd-screen-picker-preview-img-linux {
    width: 60%;
    margin-bottom: 0.5em;
}

.vcd-screen-picker-preview-img {
    width: 90%;
    margin-bottom: 0.5em;
}

.vcd-screen-picker-preview {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 1em;
}


/* Option Radios */

.vcd-screen-picker-option-radios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    width: 100%;
    border-radius: 3px;
}

.vcd-screen-picker-option-radio {
    text-align: center;
    background-color: var(--background-secondary);
    border: 1px solid var(--primary-800);
    padding: 0.3em;
    cursor: pointer;
}

.vcd-screen-picker-option-radio:first-child {
    border-radius: 3px 0 0 3px;
}

.vcd-screen-picker-option-radio:last-child {
    border-radius: 0 3px 3px 0;
}

.vcd-screen-picker-option-input {
    display: none;
}

.vcd-screen-picker-option-radio[data-checked="true"] {
    background-color: var(--brand-500);
    border-color: var(--brand-500);
}

.vcd-screen-picker-quality {
    display: flex;
    gap: 1em;
    margin-bottom: 0.5em;
}

.vcd-screen-picker-quality-section {
    flex: 1 1 auto;
}

.vcd-screen-picker-settings-buttons {
    display: flex;
    justify-content: end;
    gap: 0.5em;

    margin-top: 0.75em;
}

.vcd-screen-picker-settings-button {
    display: flex;
    gap: 0.25em;
    padding-inline: 0.5em 1em;
}

.vcd-screen-picker-settings-button-icon {
    height: 1em;
}

.vcd-screen-picker-audio {
    margin-bottom: 0;
}

.vcd-screen-picker-audio-sources {
    display: flex;
    gap: 1em;

    >section {
        flex: 1;
    }
}