.mobile-grid-card-view {
    display: none;
}

.mobile-grid-card-view.is-loading,
.mobile-grid-card-view.is-empty {
    padding: 1rem;
    color: var(--app-text-muted);
    text-align: center;
}

.mobile-card-search {
    position: relative;
    margin-bottom: 1rem;
}

.mobile-card-search i {
    position: absolute;
    top: 50%;
    left: 1rem;
    color: var(--app-text-muted);
    transform: translateY(-50%);
    pointer-events: none;
}

.mobile-card-search input {
    width: 100%;
    min-height: 46px;
    padding: .75rem 1rem .75rem 2.75rem;
    border: 1px solid var(--app-border);
    border-radius: 999px;
    background: var(--app-surface);
    color: var(--app-text);
    box-shadow: var(--app-shadow);
}

.mobile-card-search input::placeholder {
    color: var(--app-text-muted);
}

.mobile-record-card {
    overflow: hidden;
    margin-bottom: 1rem;
    border: 1px solid var(--app-border);
    border-radius: 20px;
    background: var(--app-surface);
    box-shadow: var(--app-shadow);
}

.mobile-record-card__header {
    display: flex;
    gap: 1rem;
    padding: 1.15rem;
    background: linear-gradient(135deg, var(--app-primary-soft), transparent);
}

.mobile-record-card__icon {
    width: 54px;
    height: 54px;
    display: grid;
    flex-shrink: 0;
    place-items: center;
    border-radius: 16px;
    background: var(--app-primary-soft);
    color: var(--app-primary);
    font-size: 1.25rem;
}

.mobile-record-card__identity {
    min-width: 0;
    flex: 1;
}

.mobile-record-card__identity h3 {
    margin: 0;
    color: var(--app-text);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.2;
}

.mobile-record-card__identity p {
    margin: .35rem 0 0;
    color: var(--app-text-muted);
    font-size: .9rem;
    line-height: 1.35;
}

.mobile-record-card__badge {
    display: inline-flex;
    align-items: center;
    margin-top: .55rem;
    padding: .28rem .65rem;
    border-radius: 999px;
    background: var(--app-primary-soft);
    color: var(--app-primary);
    font-size: .76rem;
    font-weight: 800;
}

.mobile-record-card__badge--success {
    background: rgba(16, 185, 129, .14);
    color: var(--app-success);
}

.mobile-record-card__badge--warning {
    background: rgba(245, 158, 11, .16);
    color: var(--app-warning);
}

.mobile-record-card__badge--danger {
    background: rgba(239, 68, 68, .14);
    color: var(--app-danger);
}

.mobile-record-card__details {
    padding: .25rem 1.15rem;
}

.mobile-record-card__row {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: .78rem 0;
    border-bottom: 1px solid var(--app-border);
}

.mobile-record-card__row:last-child {
    border-bottom: 0;
}

.mobile-record-card__row span {
    color: var(--app-text-muted);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.mobile-record-card__row strong {
    min-width: 0;
    color: var(--app-text);
    font-size: .9rem;
    font-weight: 700;
    text-align: right;
    overflow-wrap: anywhere;
}

.mobile-record-card__actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
    gap: .7rem;
    padding: 1rem 1.15rem 1.15rem;
    border-top: 1px solid var(--app-border);
    background: var(--app-surface-alt);
}

.mobile-record-card__action {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    border-radius: 12px;
    font-weight: 800;
}

@media (max-width: 991.98px) {
    .mobile-grid-card-view {
        display: block;
    }

    .mobile-grid-card-view[data-grid-id] + .dx-grid-responsive-host,
    .mobile-grid-card-view + .synctab-mobile-card-source,
    .synctab-mobile-card-source {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .mobile-grid-card-view {
        display: none !important;
    }
}
