/* _content/H2Compressor.Shared/UI/Components/Atoms/H2AlertActionDialog.razor.rz.scp.css */
.h2-alert-action-overlay[b-59b7nteymb] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 16px;
}

.h2-alert-action-dialog[b-59b7nteymb] {
    background: #fff;
    border-radius: 12px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.h2-alert-action-header[b-59b7nteymb] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}

.h2-alert-action-title[b-59b7nteymb] {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.h2-alert-action-close[b-59b7nteymb] {
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #6b7280;
    padding: 0 4px;
}

.h2-alert-action-close:hover[b-59b7nteymb] {
    color: #111827;
}

.h2-alert-action-body[b-59b7nteymb] {
    padding: 16px 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.h2-alert-action-row[b-59b7nteymb] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.h2-alert-action-label[b-59b7nteymb] {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b7280;
}

.h2-alert-action-value[b-59b7nteymb] {
    font-size: 14px;
    color: #111827;
}

.h2-alert-action-muted[b-59b7nteymb] {
    color: #6b7280;
    margin-left: 6px;
    font-size: 13px;
}

.h2-alert-action-field[b-59b7nteymb] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.h2-alert-action-field label[b-59b7nteymb] {
    font-size: 12px;
    color: #374151;
    font-weight: 500;
}

.h2-alert-action-input[b-59b7nteymb],
.h2-alert-action-textarea[b-59b7nteymb] {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    color: #111827;
    background: #fff;
    box-sizing: border-box;
}

.h2-alert-action-input:focus[b-59b7nteymb],
.h2-alert-action-textarea:focus[b-59b7nteymb] {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.h2-alert-action-textarea[b-59b7nteymb] {
    resize: vertical;
    min-height: 72px;
}

.h2-alert-action-error[b-59b7nteymb] {
    color: #b91c1c;
    font-size: 13px;
}

.h2-alert-action-footer[b-59b7nteymb] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 14px 20px;
    border-top: 1px solid #eee;
}

.h2-alert-action-btn[b-59b7nteymb] {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.h2-alert-action-btn[disabled][b-59b7nteymb] {
    opacity: 0.6;
    cursor: not-allowed;
}

.h2-alert-action-btn-secondary[b-59b7nteymb] {
    background: #fff;
    border-color: #d1d5db;
    color: #374151;
}

.h2-alert-action-btn-secondary:hover:not([disabled])[b-59b7nteymb] {
    background: #f9fafb;
}

.h2-alert-action-btn-primary[b-59b7nteymb] {
    background: #2563eb;
    color: #fff;
}

.h2-alert-action-btn-primary:hover:not([disabled])[b-59b7nteymb] {
    background: #1d4ed8;
}

.h2-alert-action-spinner[b-59b7nteymb] {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-top-color: #fff;
    border-radius: 50%;
    animation: h2-alert-action-spin-b-59b7nteymb 0.7s linear infinite;
}

@keyframes h2-alert-action-spin-b-59b7nteymb {
    to { transform: rotate(360deg); }
}
/* _content/H2Compressor.Shared/UI/Components/Atoms/H2Badge.razor.rz.scp.css */
/* H2Badge Component Styles */

.h2-badge[b-d8eaeezvqk] {
    display: inline-flex;
    align-items: center;
    gap: var(--h2-spacing-xs);
    font-family: var(--h2-font-family);
    font-weight: var(--h2-font-weight-semibold);
    white-space: nowrap;
}

/* Sizes */
.h2-badge-sm[b-d8eaeezvqk] {
    padding: 2px 8px;
    font-size: 10px;
}

.h2-badge-md[b-d8eaeezvqk] {
    padding: 6px 12px;
    font-size: var(--h2-font-size-xs);
}

.h2-badge-lg[b-d8eaeezvqk] {
    padding: 8px 16px;
    font-size: var(--h2-font-size-sm);
}

/* Pill shape */
.h2-badge-pill[b-d8eaeezvqk] {
    border-radius: var(--h2-radius-full);
}

.h2-badge:not(.h2-badge-pill)[b-d8eaeezvqk] {
    border-radius: var(--h2-radius-md);
}

/* Variants */
.h2-badge-default[b-d8eaeezvqk] {
    background-color: var(--h2-bg-muted);
    color: var(--h2-text-secondary);
}

.h2-badge-primary[b-d8eaeezvqk] {
    background-color: var(--h2-brand-primary);
    color: var(--h2-text-inverse);
}

.h2-badge-success[b-d8eaeezvqk],
.h2-badge-online[b-d8eaeezvqk],
.h2-badge-completed[b-d8eaeezvqk] {
    background-color: var(--h2-status-success);
    color: #ffffff;
}

.h2-badge-warning[b-d8eaeezvqk] {
    background-color: var(--h2-status-warning);
    color: #ffffff;
}

.h2-badge-error[b-d8eaeezvqk],
.h2-badge-offline[b-d8eaeezvqk],
.h2-badge-failed[b-d8eaeezvqk] {
    background-color: var(--h2-status-error);
    color: #ffffff;
}

.h2-badge-info[b-d8eaeezvqk],
.h2-badge-in-progress[b-d8eaeezvqk] {
    background-color: var(--h2-status-info);
    color: #ffffff;
}

/* Icon */
.h2-badge-icon[b-d8eaeezvqk] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
/* _content/H2Compressor.Shared/UI/Components/Atoms/H2Card.razor.rz.scp.css */
/* H2Card Component Styles */

.h2-card[b-pdaj2vixv6] {
    background-color: var(--h2-bg-card);
    border-radius: var(--h2-radius-2xl);
    overflow: hidden;
}

/* Variants */
.h2-card-default[b-pdaj2vixv6] {
    box-shadow: var(--h2-shadow-md);
}

.h2-card-elevated[b-pdaj2vixv6] {
    box-shadow: var(--h2-shadow-lg);
}

.h2-card-outlined[b-pdaj2vixv6] {
    border: 1px solid var(--h2-border-default);
    box-shadow: none;
}

.h2-card-stat[b-pdaj2vixv6] {
    box-shadow: var(--h2-shadow-sm);
}

/* Hoverable */
.h2-card-hoverable[b-pdaj2vixv6] {
    transition: transform var(--h2-transition-normal), box-shadow var(--h2-transition-normal);
    cursor: pointer;
}

.h2-card-hoverable:hover[b-pdaj2vixv6] {
    transform: translateY(-2px);
    box-shadow: var(--h2-shadow-lg);
}

/* Header */
.h2-card-header[b-pdaj2vixv6] {
    padding: var(--h2-spacing-xl) var(--h2-spacing-2xl);
    padding-bottom: 0;
}

.h2-card-title[b-pdaj2vixv6] {
    font-size: var(--h2-font-size-xl);
    font-weight: var(--h2-font-weight-semibold);
    color: var(--h2-text-heading);
    margin: 0 0 var(--h2-spacing-xs) 0;
}

.h2-card-subtitle[b-pdaj2vixv6] {
    font-size: var(--h2-font-size-sm);
    color: var(--h2-text-secondary);
    margin: 0;
}

/* Body */
.h2-card-body[b-pdaj2vixv6] {
    padding: var(--h2-spacing-xl) var(--h2-spacing-2xl);
}

/* Footer */
.h2-card-footer[b-pdaj2vixv6] {
    padding: var(--h2-spacing-lg) var(--h2-spacing-2xl);
    border-top: 1px solid var(--h2-border-light);
}

/* No padding variant */
.h2-card-no-padding .h2-card-body[b-pdaj2vixv6] {
    padding: 0;
}

.h2-card-no-padding .h2-card-header[b-pdaj2vixv6] {
    padding: var(--h2-spacing-xl) var(--h2-spacing-2xl);
}
/* _content/H2Compressor.Shared/UI/Components/Atoms/H2MaintenanceNotification.razor.rz.scp.css */
/* Maintenance Notification Modal - UI Blocking */
/* Per client specification: Fleet Metrics Client-Side Maintenance Notification */
/* Follows same patterns as H2ConfirmDialog for consistency */

.h2-maintenance-overlay[b-nq2uvwfr6e] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000; /* Above h2-confirm-overlay (9999) */
    animation: h2-maintenance-fade-in-b-nq2uvwfr6e 0.2s ease-out;
}

@keyframes h2-maintenance-fade-in-b-nq2uvwfr6e {
    from { opacity: 0; }
    to { opacity: 1; }
}

.h2-maintenance-modal[b-nq2uvwfr6e] {
    background-color: var(--h2-bg-card);
    border: 1px solid var(--h2-border-default);
    border-radius: 12px;
    padding: 32px;
    max-width: 480px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: h2-maintenance-scale-in-b-nq2uvwfr6e 0.2s ease-out;
}

@keyframes h2-maintenance-scale-in-b-nq2uvwfr6e {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.h2-maintenance-icon[b-nq2uvwfr6e] {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    color: var(--h2-status-warning);
}

.h2-maintenance-icon svg[b-nq2uvwfr6e] {
    width: 48px;
    height: 48px;
}

.h2-maintenance-title[b-nq2uvwfr6e] {
    font-size: 18px;
    font-weight: 600;
    color: var(--h2-text-heading);
    margin: 0 0 20px 0;
}

.h2-maintenance-content[b-nq2uvwfr6e] {
    background-color: var(--h2-bg-muted);
    border: 1px solid var(--h2-border-default);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    text-align: left;
}

.h2-maintenance-content > div[b-nq2uvwfr6e] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px solid var(--h2-border-default);
}

.h2-maintenance-content > div:last-child[b-nq2uvwfr6e] {
    border-bottom: none;
}

.h2-maintenance-content .label[b-nq2uvwfr6e] {
    color: var(--h2-text-secondary);
    font-size: 13px;
    font-weight: 500;
    min-width: 110px;
}

.h2-maintenance-content .value[b-nq2uvwfr6e] {
    color: var(--h2-text-primary);
    font-size: 13px;
    font-weight: 600;
    text-align: right;
    flex: 1;
}

.h2-maintenance-threshold .value[b-nq2uvwfr6e],
.h2-maintenance-runtime .value[b-nq2uvwfr6e] {
    color: var(--h2-status-warning);
}

.h2-maintenance-remaining[b-nq2uvwfr6e] {
    color: var(--h2-text-secondary);
    font-size: 13px;
    margin: 0 0 16px 0;
}

.h2-maintenance-actions[b-nq2uvwfr6e] {
    margin-bottom: 12px;
}

.h2-maintenance-button[b-nq2uvwfr6e] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--h2-brand-primary);
    color: var(--h2-text-inverse);
    border: none;
    border-radius: 8px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 180px;
}

.h2-maintenance-button:hover:not(:disabled)[b-nq2uvwfr6e] {
    background-color: var(--h2-brand-primary-hover);
    transform: translateY(-1px);
}

.h2-maintenance-button:disabled[b-nq2uvwfr6e] {
    opacity: 0.7;
    cursor: not-allowed;
}

.h2-maintenance-button svg[b-nq2uvwfr6e] {
    width: 18px;
    height: 18px;
}

.h2-maintenance-button .spinner[b-nq2uvwfr6e] {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: h2-maintenance-spin-b-nq2uvwfr6e 0.8s linear infinite;
}

@keyframes h2-maintenance-spin-b-nq2uvwfr6e {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.h2-maintenance-notice[b-nq2uvwfr6e] {
    color: var(--h2-text-muted);
    font-size: 12px;
    margin: 0;
    font-style: italic;
}

/* Responsive - matches theme.css patterns */
@media (max-width: 480px) {
    .h2-maintenance-modal[b-nq2uvwfr6e] {
        padding: 24px 20px;
    }

    .h2-maintenance-icon svg[b-nq2uvwfr6e] {
        width: 40px;
        height: 40px;
    }

    .h2-maintenance-title[b-nq2uvwfr6e] {
        font-size: 16px;
    }

    .h2-maintenance-content .label[b-nq2uvwfr6e],
    .h2-maintenance-content .value[b-nq2uvwfr6e] {
        font-size: 12px;
    }

    .h2-maintenance-content .label[b-nq2uvwfr6e] {
        min-width: 90px;
    }

    .h2-maintenance-button[b-nq2uvwfr6e] {
        width: 100%;
        padding: 12px 20px;
    }
}
/* _content/H2Compressor.Shared/UI/Components/Atoms/H2PhoneInput.razor.rz.scp.css */
/* One unified control: country selector + national number share a single
   border and a single focus ring, so it reads as one field rather than two
   boxes with a gap. */
.h2-phone-control[b-vdkthko5ox] {
    display: flex;
    align-items: stretch;
    width: 100%;
    height: 48px;
    border: 1px solid var(--h2-border-light, #d0d5dd);
    border-radius: 8px;
    background-color: var(--h2-bg-card, #fff);
    overflow: hidden;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.h2-phone-control:focus-within[b-vdkthko5ox] {
    border-color: var(--h2-border-focus, #2f6feb);
    box-shadow: 0 0 0 3px rgba(47, 111, 235, 0.12);
}

.h2-phone-control.h2-phone-error[b-vdkthko5ox] {
    border-color: var(--h2-status-error, #d92d20);
}

.h2-phone-control.h2-phone-disabled[b-vdkthko5ox] {
    background-color: var(--h2-bg-muted, #f2f4f7);
    cursor: not-allowed;
}

/* Country segment: flag + dial code + caret, with a native select laid
   transparently on top so the whole segment is clickable and keyboard-usable. */
.h2-phone-cc-wrap[b-vdkthko5ox] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    border-right: 1px solid var(--h2-border-light, #e4e7ec);
    background-color: var(--h2-bg-subtle, #f9fafb);
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

.h2-phone-flag[b-vdkthko5ox] { font-size: 18px; line-height: 1; }

.h2-phone-dial[b-vdkthko5ox] {
    font-size: 14px;
    font-weight: 500;
    color: var(--h2-text-primary, #101828);
    font-family: var(--h2-font-family, inherit);
}

.h2-phone-caret[b-vdkthko5ox] { color: var(--h2-text-secondary, #667085); flex: 0 0 auto; }

.h2-phone-cc-select[b-vdkthko5ox] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.h2-phone-national[b-vdkthko5ox] {
    flex: 1 1 auto;
    min-width: 0;
    border: none;
    outline: none;
    padding: 0 14px;
    font-size: 14px;
    font-family: var(--h2-font-family, inherit);
    color: var(--h2-text-primary, #101828);
    background: transparent;
}

.h2-phone-national[b-vdkthko5ox]::placeholder { color: var(--h2-text-secondary, #98a2b3); }

/* Sizes */
.h2-phone-control.h2-input-sm[b-vdkthko5ox] { height: 40px; }
.h2-phone-control.h2-input-sm .h2-phone-dial[b-vdkthko5ox],
.h2-phone-control.h2-input-sm .h2-phone-national[b-vdkthko5ox] { font-size: 13px; }
.h2-phone-control.h2-input-lg[b-vdkthko5ox] { height: 52px; }
