.import-export-export-page {
    display: grid;
    gap: 1rem;
}

:host ::ng-deep .import-export-export-card.p-card {
    border-radius: 8px;
}

:host ::ng-deep .import-export-export-card > .p-card-body {
    padding: 1.25rem;
}

.import-export-export-card__content {
    display: grid;
    gap: 1rem;
}

.import-export-export-card__header {
    align-items: flex-start;
    display: flex;
    gap: 0.875rem;
}

.import-export-export-card__header h2 {
    color: var(--p-text-color);
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0;
}

.import-export-export-card__header p {
    color: var(--p-text-muted-color);
    margin: 0.375rem 0 0;
    max-width: 44rem;
}

.import-export-export-card__icon {
    align-items: center;
    background: color-mix(in srgb, var(--p-primary-color) 12%, transparent);
    border-radius: 0.5rem;
    color: var(--p-primary-color);
    display: inline-flex;
    height: 2rem;
    justify-content: center;
    width: 2rem;
}

.import-export-export-card__footer {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-start;
}

.import-export-export-card__state {
    align-items: center;
    color: var(--p-text-muted-color);
    display: inline-flex;
    font-size: 0.9375rem;
    gap: 0.5rem;
    min-height: 2.5rem;
}

.site-export-list {
    border: 1px solid var(--p-content-border-color);
    border-radius: 8px;
    display: grid;
    overflow: hidden;
}

.site-export-row {
    align-items: center;
    background: var(--p-surface-card);
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0.875rem 1rem;
}

.site-export-row + .site-export-row {
    border-top: 1px solid var(--p-content-border-color);
}

.site-export-row__main {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    min-width: 0;
}

.site-export-row__domain {
    color: var(--p-text-color);
    font-weight: 650;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

:host ::ng-deep .site-export-row__message.p-message {
    flex: 0 1 auto;
}

@media (max-width: 640px) {
    :host ::ng-deep .import-export-export-card > .p-card-body {
        padding: 1rem;
    }

    .import-export-export-card__footer {
        align-items: stretch;
        flex-direction: column;
    }

    :host ::ng-deep .import-export-export-card__split-button {
        width: 100%;
    }

    .site-export-row {
        align-items: stretch;
        grid-template-columns: minmax(0, 1fr);
    }

    .site-export-row__main {
        align-items: flex-start;
        flex-direction: column;
    }

    :host ::ng-deep .site-export-row__split-button {
        width: 100%;
    }
}
