@import '_content/Blazored.Toast/Blazored.Toast.bundle.scp.css';
@import '_content/EldMandate.Blazored.Modal/EldMandate.Blazored.Modal.bundle.scp.css';

/* /Pages/AssetLiveTracking/AssetLiveTracking.razor.rz.scp.css */
/* Asset Live Tracking - Component Scoped Styles */

.asset-live-tracking-container[b-fp91sy5la9] {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.location-map[b-fp91sy5la9] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

/* Control Panel - Status Display */
.control-panel[b-fp91sy5la9] {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    border-radius: 20px;
    text-align: center;
    min-width: 180px;
    height: 40px;
    border-style: solid;
    border-width: 2px;
    font-size: 13px;
    padding: 8px 20px;
    font-weight: 600;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.control-initial[b-fp91sy5la9] {
    visibility: hidden;
}

.control-moving[b-fp91sy5la9] {
    visibility: visible;
    background-color: #006496;
    border-color: #004d73;
}

.control-stationary[b-fp91sy5la9] {
    visibility: visible;
    background-color: #ABAFB9;
    border-color: #8f939c;
}

/* Loading Overlay */
.loading-overlay[b-fp91sy5la9] {
    position: absolute;
    top: 60px;
    left: 20px;
    z-index: 10;
}

.loading-box[b-fp91sy5la9] {
    min-width: 280px;
    max-width: 350px;
    min-height: 44px;
    background: #FFFFFF;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.loading-box.error[b-fp91sy5la9] {
    border-left: 4px solid #dc3545;
    background: #fff5f5;
}

.loading-text[b-fp91sy5la9] {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 13px;
    line-height: 1.4;
    color: #dc3545;
}

.loading-text.blink[b-fp91sy5la9] {
    animation: blinker-b-fp91sy5la9 1.2s ease-in-out infinite;
    color: #555;
}

@keyframes blinker-b-fp91sy5la9 {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.4;
    }
}

/* Ensure Google Map fills container */
[b-fp91sy5la9] #asset-tracking-map {
    width: 100% !important;
    height: 100% !important;
}

[b-fp91sy5la9] .gm-style {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Custom Dialog Styles */
.custom-dialog-overlay[b-fp91sy5la9] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn-b-fp91sy5la9 0.2s ease;
}

@keyframes fadeIn-b-fp91sy5la9 {
    from { opacity: 0; }
    to { opacity: 1; }
}

.custom-dialog[b-fp91sy5la9] {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    min-width: 320px;
    max-width: 400px;
    overflow: hidden;
    animation: slideIn-b-fp91sy5la9 0.25s ease;
}

@keyframes slideIn-b-fp91sy5la9 {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.custom-dialog-header[b-fp91sy5la9] {
    padding: 18px 24px 12px;
    border-bottom: 1px solid #eee;
}

.custom-dialog-title[b-fp91sy5la9] {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.custom-dialog-body[b-fp91sy5la9] {
    padding: 16px 24px;
}

.custom-dialog-body p[b-fp91sy5la9] {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

.custom-dialog-footer[b-fp91sy5la9] {
    padding: 12px 24px 18px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn-dialog[b-fp91sy5la9] {
    padding: 10px 24px;
    border-radius: 8px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-confirm[b-fp91sy5la9] {
    background: #006496;
    color: #fff;
}

.btn-confirm:hover[b-fp91sy5la9] {
    background: #005580;
}

.btn-cancel[b-fp91sy5la9] {
    background: #f5f5f5;
    color: #333;
}

.btn-cancel:hover[b-fp91sy5la9] {
    background: #e8e8e8;
}
/* /Pages/Partials/Admin/AdasAiAlertEmailStatusModal.razor.rz.scp.css */
/* Blazored's ModalSize is only a max-width cap and the dialog sizes itself to its content, so a row
   with no bounce reason rendered a narrow popup and one with a full SMTP reply a wide one. Fixing
   the body width pins the dialog. Viewport units, not a percentage: the parent is content-sized,
   so a percentage would be circular. */
.es[b-62roinj5w9] {
    width: min(980px, calc(100vw - 7rem));
}

/* ---- header (replaces Blazored's, so the ✕ here is the only way out) ---- */

.es-head[b-62roinj5w9] {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid #F1F1F4;
}

.es-head-icon[b-62roinj5w9] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #EAF1FE;
    color: #3B82F6;
    font-size: 1.25rem;
}

.es-head-text[b-62roinj5w9] {
    flex: 1 1 auto;
    min-width: 0;
}

.es-head-text h2[b-62roinj5w9] {
    margin: 0;
    color: #14142B;
    font-size: 1.45rem;
    font-weight: 700;
}

.es-head-text p[b-62roinj5w9] {
    margin: 2px 0 0;
    color: #7E8299;
    font-size: 0.95rem;
}

.es-close[b-62roinj5w9] {
    flex: 0 0 auto;
    padding: 6px 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #7E8299;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
}

.es-close:hover[b-62roinj5w9] {
    background: #F1F1F4;
    color: #14142B;
}

/* ---- two-column body ---- */

.es-grid[b-62roinj5w9] {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 18px;
    align-items: start;
}

.es-col[b-62roinj5w9] {
    display: grid;
    gap: 18px;
    align-content: start;
}

.es-card[b-62roinj5w9] {
    padding: 18px 20px;
    border-radius: 14px;
    border: 1px solid #EDEFF5;
}

.es-panel[b-62roinj5w9] {
    padding: 20px 22px;
    border-radius: 14px;
    border: 1px solid #EFEFF6;
}

.es-panel-head[b-62roinj5w9] {
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #F1F1F4;
}

.es-panel-title[b-62roinj5w9] {
    color: #14142B;
    font-size: 1.02rem;
    font-weight: 700;
}

.es-panel-sub[b-62roinj5w9] {
    margin-top: 1px;
    color: #7E8299;
    font-size: 0.88rem;
}

/* ---- text ---- */

.es-label[b-62roinj5w9] {
    color: #7E8299;
    font-size: 0.9rem;
    font-weight: 500;
}

.es-label.dark[b-62roinj5w9] {
    color: #3F4254;
    font-weight: 600;
}

.es-strong[b-62roinj5w9] {
    margin-top: 4px;
    color: #3F4254;
    font-size: 1.05rem;
    font-weight: 700;
}

.tone-success .es-strong[b-62roinj5w9] { color: #17A567; }
.tone-danger .es-strong[b-62roinj5w9] { color: #D14A33; }
.tone-pending .es-strong[b-62roinj5w9] { color: #C2650F; }
.tone-processing .es-strong[b-62roinj5w9] { color: #2360C4; }

/* Bounce reasons are full SMTP replies, so they wrap rather than stretch the dialog. */
.es-value[b-62roinj5w9] {
    margin-top: 4px;
    color: #3F4254;
    font-size: 0.95rem;
    overflow-wrap: anywhere;
}

.es-line .es-value[b-62roinj5w9] {
    margin-top: 0;
}

.es-dash[b-62roinj5w9] {
    color: #A1A5B7;
}

.es-sub[b-62roinj5w9] {
    margin-top: 4px;
    color: #7E8299;
    font-size: 0.88rem;
}

/* ---- delivery rows ---- */

.es-rows[b-62roinj5w9] {
    display: grid;
    gap: 16px;
}

.es-line[b-62roinj5w9] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* ---- pills: green success, red failed, orange pending/deferred, blue processing ---- */

.es-pill[b-62roinj5w9] {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 8px;
    background: #F1F1F4;
    color: #3F4254;
    font-size: 0.85rem;
    font-weight: 600;
}

.tone-success .es-pill[b-62roinj5w9] { background: #DFF6E8; color: #0F7C4E; }
.tone-danger .es-pill[b-62roinj5w9] { background: #FCE6E2; color: #B23A26; }
.tone-pending .es-pill[b-62roinj5w9] { background: #FDEBDA; color: #A9510F; }
.tone-processing .es-pill[b-62roinj5w9] { background: #E3EDFD; color: #1B4FA8; }
.tone-neutral .es-pill[b-62roinj5w9] { background: #F1F1F4; color: #3F4254; }

/* One column once 5fr/7fr stops being readable. */
@media (max-width: 767.98px) {
    .es[b-62roinj5w9] {
        width: calc(100vw - 3.5rem);
    }

    .es-grid[b-62roinj5w9] {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* /Pages/Partials/Admin/AdasAiAlertSmsMessageModal.razor.rz.scp.css */
/* Fixed width so the dialog doesn't grow/shrink with message length — same reasoning as
   AdasAiAlertEmailStatusModal.razor.css. Viewport units, not a percentage: the parent is
   content-sized, so a percentage would be circular. */
.sms[b-o5kz2t8kr7] {
    width: min(560px, calc(100vw - 7rem));
}

/* ---- header (replaces Blazored's, so the ✕ here is the only way out) ---- */

.sms-head[b-o5kz2t8kr7] {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid #F1F1F4;
}

.sms-head-icon[b-o5kz2t8kr7] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #E9F9F0;
    color: #17A567;
    font-size: 1.25rem;
}

.sms-head-text[b-o5kz2t8kr7] {
    flex: 1 1 auto;
    min-width: 0;
}

.sms-head-text h2[b-o5kz2t8kr7] {
    margin: 0;
    color: #14142B;
    font-size: 1.45rem;
    font-weight: 700;
}

.sms-head-text p[b-o5kz2t8kr7] {
    margin: 2px 0 0;
    color: #7E8299;
    font-size: 0.95rem;
}

.sms-close[b-o5kz2t8kr7] {
    flex: 0 0 auto;
    padding: 6px 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #7E8299;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
}

.sms-close:hover[b-o5kz2t8kr7] {
    background: #F1F1F4;
    color: #14142B;
}

/* ---- message bubble (the only body content, so it gets the full width and a roomy read) ---- */

.sms-bubble-wrap[b-o5kz2t8kr7] {
    display: flex;
}

.sms-bubble[b-o5kz2t8kr7] {
    position: relative;
    width: 100%;
    padding: 20px 24px;
    border-radius: 18px 18px 18px 4px;
    background: #EAF9F0;
    color: #14142B;
    font-size: 1.05rem;
    line-height: 1.6;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
    border: 1px solid #D3F1DF;
}

@media (max-width: 767.98px) {
    .sms[b-o5kz2t8kr7] {
        width: calc(100vw - 3.5rem);
    }
}
/* /Pages/Plus/Company/NotificationSettings.razor.rz.scp.css */
.notif-card[b-wvdfhh9lay] {
    border-radius: 12px;
}

.notif-row[b-wvdfhh9lay] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 24px 28px;
}

.notif-row + .notif-row[b-wvdfhh9lay] {
    border-top: 1px solid #EFF2F5;
}

.notif-row-icon[b-wvdfhh9lay] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 1.15rem;
}

.notif-row-icon-email[b-wvdfhh9lay] {
    background: #E3ECFF;
    color: #3E7BFA;
}

.notif-row-icon-sms[b-wvdfhh9lay] {
    background: #E9F9F0;
    color: #17A567;
}

.notif-row-info[b-wvdfhh9lay] {
    flex: 1 1 280px;
    min-width: 200px;
    padding-right: 20px;
    border-right: 1px solid #EFF2F5;
}

.notif-row-info h5[b-wvdfhh9lay] {
    margin: 0;
    font-weight: 700;
    color: #14142B;
}

.notif-row-info p[b-wvdfhh9lay] {
    margin: 4px 0 0;
    color: #7E8299;
    font-size: 0.9rem;
}

.notif-row-toggle[b-wvdfhh9lay] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    padding-right: 20px;
    border-right: 1px solid #EFF2F5;
    color: #3E7BFA;
    font-weight: 600;
    font-size: 0.9rem;
}

.notif-row-field[b-wvdfhh9lay] {
    flex: 1 1 320px;
    min-width: 260px;
}

.notif-field-icon-email[b-wvdfhh9lay] {
    color: #3E7BFA;
}

.notif-field-icon-sms[b-wvdfhh9lay] {
    color: #17A567;
}

.notif-actions[b-wvdfhh9lay] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
}

.notif-actions[b-wvdfhh9lay]  .notif-cancel-btn {
    background-color: #8A94A6;
    border-color: #8A94A6;
    color: #fff;
}

.notif-actions[b-wvdfhh9lay]  .notif-cancel-btn:hover:not(:disabled) {
    background-color: #6E7891;
    border-color: #6E7891;
}

@media (max-width: 767.98px) {
    .notif-row-info[b-wvdfhh9lay],
    .notif-row-toggle[b-wvdfhh9lay] {
        border-right: 0;
        padding-right: 0;
    }
}
