/* Portal UX — skeleton, toast, empty states, 2-column forms */

.portal-skeleton-wrap .portal-skeleton {
    background: linear-gradient(90deg, var(--bs-tertiary-bg) 25%, rgba(255, 255, 255, 0.5) 50%, var(--bs-tertiary-bg) 75%);
    background-size: 200% 100%;
    animation: portal-shimmer 1.2s ease-in-out infinite;
    border-radius: 8px;
}

@keyframes portal-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.portal-skeleton-card {
    height: 88px;
}

.portal-skeleton-chart {
    height: 280px;
}

.portal-skeleton-table {
    height: 320px;
}

.portal-toast-container {
    position: fixed;
    top: 88px;
    right: 20px;
    z-index: 1090;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 360px;
    pointer-events: none;
}

.portal-toast {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    opacity: 0;
    transform: translateX(12px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: auto;
    font-size: 0.875rem;
}

.portal-toast.show {
    opacity: 1;
    transform: translateX(0);
}

.portal-toast-success {
    border-left: 4px solid #0ab39c;
}

.portal-toast-success > i {
    color: #0ab39c;
    font-size: 1.25rem;
}

.portal-toast-danger {
    border-left: 4px solid #f06548;
}

.portal-toast-danger > i {
    color: #f06548;
    font-size: 1.25rem;
}

.portal-toast-warning {
    border-left: 4px solid #f7b84b;
}

.portal-toast-info {
    border-left: 4px solid #299cdb;
}

.portal-empty-state .portal-empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    border-radius: 50%;
    background: var(--portal-accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--portal-accent);
}

.form-portal-2col .modal-body .row {
    --bs-gutter-x: 1rem;
}

.form-portal-2col .form-label {
    font-size: 0.8125rem;
    font-weight: 500;
}

#live-operations-map {
    height: 420px;
    width: 100%;
    border-radius: 0 0 12px 12px;
    z-index: 1;
}
