/* /Components/NewScriptModal.razor.rz.scp.css */

.responsive-modal[b-dkzb42zsn1] {
    width: 100vw;
    max-width: 500px;
}
@media (max-width: 600px) {
    .responsive-modal[b-dkzb42zsn1] {
        max-width: 95vw !important;
        min-width: unset !important;
        padding: 0 !important;
    }
    .mud-dialog[b-dkzb42zsn1] {
        margin: 0 !important;
        border-radius: 0 !important;
    }
}
/* /Components/ScriptDetailsModal.razor.rz.scp.css */
.modal[b-34ipu3ehb3] {
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-header[b-34ipu3ehb3] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #dee2e6;
}

.modal-title[b-34ipu3ehb3] {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.script-status-badge[b-34ipu3ehb3] {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
}

    .script-status-badge.running[b-34ipu3ehb3] {
        background-color: #cfe2ff;
        color: #0a58ca;
    }

    .script-status-badge.done[b-34ipu3ehb3] {
        background-color: #d1e7dd;
        color: #0f5132;
    }

    .script-status-badge.error[b-34ipu3ehb3] {
        background-color: #f8d7da;
        color: #842029;
    }

    .script-status-badge.cancelled[b-34ipu3ehb3] {
        background-color: #e2e3e5;
        color: #41464b;
    }

    .script-status-badge.scheduled[b-34ipu3ehb3] {
        background-color: #fff3cd;
        color: #664d03;
    }

.modal-meta[b-34ipu3ehb3] {
    padding: 1rem 1.5rem;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.meta-row[b-34ipu3ehb3] {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 0.75rem;
}

.meta-item[b-34ipu3ehb3] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

    .meta-item i[b-34ipu3ehb3] {
        color: #6c757d;
    }

.meta-label[b-34ipu3ehb3] {
    font-weight: 500;
    color: #495057;
}

.script-description[b-34ipu3ehb3] {
    margin-top: 0.75rem;
    background-color: white;
    padding: 0.75rem;
    border-radius: 4px;
    border: 1px solid #e9ecef;
}

.description-heading[b-34ipu3ehb3] {
    font-weight: 500;
    font-size: 0.9rem;
    color: #495057;
    margin-bottom: 0.5rem;
}

.description-content[b-34ipu3ehb3] {
    white-space: pre-wrap;
    font-size: 0.95rem;
    line-height: 1.4;
}

.progress-section[b-34ipu3ehb3] {
    margin-top: 1rem;
}

.progress[b-34ipu3ehb3] {
    height: 0.75rem;
    border-radius: 0.375rem;
    position: relative;
}

    .progress[b-34ipu3ehb3]::after {
        content: attr(data-label);
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.75rem;
        font-weight: 600;
        color: #212529;
    }

.progress-bar[b-34ipu3ehb3] {
    font-size: 0;
}

.modal-body[b-34ipu3ehb3] {
    padding: 0;
    position: relative;
}

/* Log controls section */
.log-controls[b-34ipu3ehb3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid #dee2e6;
    background-color: #f8f9fa;
}

.log-heading[b-34ipu3ehb3] {
    font-weight: 600;
    font-size: 1rem;
    color: #495057;
}

.log-tools[b-34ipu3ehb3] {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.log-search[b-34ipu3ehb3] {
    width: 250px;
}

.timestamp-format[b-34ipu3ehb3] {
    display: flex;
    align-items: center;
    width: 220px;
}

    .timestamp-format select[b-34ipu3ehb3] {
        font-size: 0.875rem;
    }

/* Log container */
.log-container[b-34ipu3ehb3] {
    height: 350px;
    overflow-y: auto;
    display: flex;
    flex-direction: column-reverse;
    padding: 0;
    background-color: #f5f5f5;
}

/* Log message styling */
.log-message[b-34ipu3ehb3] {
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.9rem;
    display: flex;
    gap: 0.75rem;
}

    .log-message:hover[b-34ipu3ehb3] {
        background-color: #f8f9fa;
    }

.log-timestamp[b-34ipu3ehb3] {
    color: #6c757d;
    font-family: monospace;
    white-space: nowrap;
}

.log-text[b-34ipu3ehb3] {
    word-break: break-word;
}

/* Empty states */
.log-empty[b-34ipu3ehb3] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: #6c757d;
    text-align: center;
}

    .log-empty i[b-34ipu3ehb3] {
        font-size: 2rem;
        margin-bottom: 0.75rem;
        opacity: 0.5;
    }

.modal-footer[b-34ipu3ehb3] {
    padding: 1rem 1.5rem;
    border-top: 1px solid #dee2e6;
}

.footer-actions[b-34ipu3ehb3] {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    width: 100%;
}
/* /Pages/ChatbotChanges.razor.rz.scp.css */

/* /Pages/ScriptsList.razor.rz.scp.css */
/* Header styles */
.scripts-header[b-4dzuxumxlf] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e0e0e0;
}

/* Tab styles */
.scripts-tabs-container :deep(.nav-tabs)[b-4dzuxumxlf] {
    border-bottom: 2px solid #eaeaea;
    margin-bottom: 1rem;
}

.scripts-tabs-container :deep(.nav-link)[b-4dzuxumxlf] {
    font-weight: 500;
    color: #555;
    border: none;
    padding: 0.5rem 1.25rem;
    transition: all 0.2s ease;
}

.scripts-tabs-container :deep(.nav-link.active)[b-4dzuxumxlf] {
    color: #0d6efd;
    border-bottom: 2px solid #0d6efd;
}

/* Scripts grid */
.scripts-container[b-4dzuxumxlf] {
    padding: 0.5rem;
}

.scripts-grid[b-4dzuxumxlf] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

/* Script cards - Improved compact design with larger text */
.script-card[b-4dzuxumxlf] {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
    border: 1px solid #eaeaea;
}

    .script-card:hover[b-4dzuxumxlf] {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
        border-color: #cfd8dc;
    }

.script-header[b-4dzuxumxlf] {
    padding: 0.75rem;
    border-bottom: 1px solid #eaeaea;
    position: relative;
    display: flex;
    flex-direction: column; /* Changed from flex-wrap to stack items vertically */
}

.script-status-indicator[b-4dzuxumxlf] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #e0e0e0;
}

.script-card.running .script-status-indicator[b-4dzuxumxlf] {
    background-color: #0d6efd;
}

.script-card.done .script-status-indicator[b-4dzuxumxlf] {
    background-color: #198754;
}

.script-card.error .script-status-indicator[b-4dzuxumxlf] {
    background-color: #dc3545;
}

.script-card.cancelled .script-status-indicator[b-4dzuxumxlf] {
    background-color: #6c757d;
}

.script-card.scheduled .script-status-indicator[b-4dzuxumxlf] {
    background-color: #ffc107;
}

.script-title[b-4dzuxumxlf] {
    font-size: 1.25rem; /* Increased from 1.1rem */
    font-weight: 600;
    margin: 0.25rem 0;
    color: #333;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    width: 100%; /* Use full width now that it's on its own line */
}

.status-badge[b-4dzuxumxlf] {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.5rem;
    font-size: 0.8rem; /* Increased from 0.7rem */
    font-weight: 600;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    align-self: flex-start; /* Align to the left when it's on its own line */
    margin-top: 0.25rem;
}

    .status-badge.running[b-4dzuxumxlf] {
        background-color: #cfe2ff;
        color: #0a58ca;
    }

    .status-badge.done[b-4dzuxumxlf] {
        background-color: #d1e7dd;
        color: #0f5132;
    }

    .status-badge.error[b-4dzuxumxlf] {
        background-color: #f8d7da;
        color: #842029;
    }

    .status-badge.cancelled[b-4dzuxumxlf] {
        background-color: #e2e3e5;
        color: #41464b;
    }

    .status-badge.scheduled[b-4dzuxumxlf] {
        background-color: #fff3cd;
        color: #664d03;
    }

.script-card-content[b-4dzuxumxlf] {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 0.5rem;
}

.script-meta[b-4dzuxumxlf] {
    display: flex;
    flex-direction: column; /* Changed from row to column */
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #637381;
    width: 100%;
}

.meta-item[b-4dzuxumxlf] {
    display: flex;
    align-items: flex-start; /* Changed from center to flex-start */
    gap: 0.5rem;
    flex-wrap: wrap; /* Allow wrapping */
    width: 100%; /* Take full width */
}

.meta-label[b-4dzuxumxlf] {
    font-weight: 500;
    color: #555;
    white-space: nowrap;
    min-width: 105px; /* Set a fixed width for labels */
}

.meta-value[b-4dzuxumxlf] {
    font-weight: 400;
    word-break: break-word; /* Allow breaking of long words */
    max-width: calc(100% - 110px); /* Give enough space considering the label width */
}

.script-schedule-time[b-4dzuxumxlf] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 500;
    font-size: 0.9rem; /* Increased from 0.8rem */
    color: #664d03;
    background-color: #fff3cd;
    padding: 0.4rem 0.5rem;
    border-radius: 4px;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.script-description[b-4dzuxumxlf] {
    font-size: 0.95rem; /* Increased from 0.85rem */
    color: #555;
    white-space: pre-wrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4;
    background-color: #f9f9f9;
    padding: 0.5rem;
    border-radius: 4px;
    margin-top: 0.25rem;
    border: 1px solid #eee;
}

.card-action[b-4dzuxumxlf] {
    font-size: 0.9rem; /* Increased from 0.8rem */
    font-weight: 500;
    color: #0d6efd;
    margin-top: 0.25rem;
    text-align: right;
}

    .card-action:hover[b-4dzuxumxlf] {
        text-decoration: underline;
    }

/* Empty state */
.empty-state[b-4dzuxumxlf] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: #6c757d;
    background-color: #f8f9fa;
    border-radius: 8px;
    text-align: center;
    border: 1px dashed #dee2e6;
}

    .empty-state i[b-4dzuxumxlf] {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
        opacity: 0.5;
    }

    .empty-state p[b-4dzuxumxlf] {
        font-size: 1rem;
        margin: 0;
    }

/* Progress bar adjustments - Fixed to ensure progress text is always visible */
.progress[b-4dzuxumxlf] {
    height: 0.75rem;
    border-radius: 0.375rem;
    position: relative;
}

.progress-bar[b-4dzuxumxlf] {
    font-size: 0;  /* Hide text inside the bar */
}

.progress[b-4dzuxumxlf]::after {
    content: attr(data-label);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #212529;
}
/* /Shared/MainLayout.razor.rz.scp.css */
.page[b-yljtlg7eun] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-yljtlg7eun] {
    flex: 1;
}

.sidebar[b-yljtlg7eun] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-yljtlg7eun] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-yljtlg7eun]  a, .top-row[b-yljtlg7eun]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-yljtlg7eun]  a:hover, .top-row[b-yljtlg7eun]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-yljtlg7eun]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-yljtlg7eun] {
        display: none;
    }

    .top-row.auth[b-yljtlg7eun] {
        justify-content: space-between;
    }

    .top-row[b-yljtlg7eun]  a, .top-row[b-yljtlg7eun]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-yljtlg7eun] {
        flex-direction: row;
    }

    .sidebar[b-yljtlg7eun] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-yljtlg7eun] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-yljtlg7eun]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-yljtlg7eun], article[b-yljtlg7eun] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Shared/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-kq9xol4fi0] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-kq9xol4fi0] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-kq9xol4fi0] {
    font-size: 1.1rem;
}

.oi[b-kq9xol4fi0] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-kq9xol4fi0] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-kq9xol4fi0] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-kq9xol4fi0] {
        padding-bottom: 1rem;
    }

    .nav-item[b-kq9xol4fi0]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-kq9xol4fi0]  a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.nav-item[b-kq9xol4fi0]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-kq9xol4fi0] {
        display: none;
    }

    .collapse[b-kq9xol4fi0] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}
