/* /Components/AzureSubscriptionSettings.razor.rz.scp.css */
.azure-settings-card[b-hjje6h6ywy] {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
}

.settings-header[b-hjje6h6ywy] {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e0e0e0;
}

.settings-header h5[b-hjje6h6ywy] {
    margin: 0;
    color: #333;
    font-weight: 600;
}

.settings-header i[b-hjje6h6ywy] {
    color: #0078d4;
    margin-right: 8px;
}

.credential-form[b-hjje6h6ywy] {
    margin-top: 16px;
}

.credential-form .form-label[b-hjje6h6ywy] {
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
}

.credential-form .form-label i[b-hjje6h6ywy] {
    color: #666;
    margin-right: 4px;
    width: 16px;
    text-align: center;
}

.credential-form .font-monospace[b-hjje6h6ywy] {
    font-size: 0.9rem;
}

.credential-form code[b-hjje6h6ywy] {
    padding: 4px 8px;
    background: #f5f5f5;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.credential-form .alert-info h6[b-hjje6h6ywy] {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.credential-form .alert-info ol[b-hjje6h6ywy] {
    margin-left: -16px;
}
/* /Components/ChatHistory.razor.rz.scp.css */
/* ============================================================
   ChatHistory Panel � Scoped Styles
   ============================================================ */

.chat-history-panel[b-ua8zbcnmee] {
    display: flex;
    flex-direction: column;
    width: 280px;
    min-width: 280px;
    height: 100%;
    background: #1e1e2e;
    border-right: 1px solid rgba(102, 104, 157, 0.2);
    transition: width 0.2s ease, min-width 0.2s ease, opacity 0.2s ease;
    overflow: hidden;
}

.chat-history-panel.collapsed[b-ua8zbcnmee] {
    width: 0;
    min-width: 0;
    border-right: none;
    opacity: 0;
    pointer-events: none;
}

.chat-history-panel.open[b-ua8zbcnmee] {
    opacity: 1;
    pointer-events: auto;
}

/* Header */
.chat-history-header[b-ua8zbcnmee] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(102, 104, 157, 0.2);
    background: rgba(102, 104, 157, 0.08);
}

.chat-history-title[b-ua8zbcnmee] {
    font-weight: 600;
    font-size: 0.85rem;
    color: #e0e0e0;
    white-space: nowrap;
}

.chat-history-close[b-ua8zbcnmee] {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.chat-history-close:hover[b-ua8zbcnmee] {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* New Chat button */
.chat-history-actions[b-ua8zbcnmee] {
    padding: 8px 12px;
}

.chat-history-new-btn[b-ua8zbcnmee] {
    width: 100%;
    padding: 8px 12px;
    border: 1px dashed rgba(102, 104, 157, 0.4);
    border-radius: 6px;
    background: transparent;
    color: #b0b0d0;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.chat-history-new-btn:hover[b-ua8zbcnmee] {
    background: rgba(102, 104, 157, 0.15);
    border-color: rgba(102, 104, 157, 0.6);
    color: #fff;
}

/* Conversation list */
.chat-history-list[b-ua8zbcnmee] {
    flex: 1;
    overflow-y: auto;
    padding: 4px 8px;
}

.chat-history-item[b-ua8zbcnmee] {
    padding: 10px 12px;
    margin-bottom: 2px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.chat-history-item:hover[b-ua8zbcnmee] {
    background: rgba(102, 104, 157, 0.12);
}

.chat-history-item.active[b-ua8zbcnmee] {
    background: rgba(102, 104, 157, 0.2);
    border-left: 3px solid #66689d;
    padding-left: 9px;
}

.chat-history-item-title[b-ua8zbcnmee] {
    font-size: 0.82rem;
    color: #e0e0e0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.chat-history-item.active .chat-history-item-title[b-ua8zbcnmee] {
    color: #fff;
    font-weight: 500;
}

.chat-history-item-meta[b-ua8zbcnmee] {
    display: flex;
    gap: 10px;
    font-size: 0.7rem;
    color: #888;
}

.chat-history-item-meta i[b-ua8zbcnmee] {
    margin-right: 2px;
}

/* Loading / Empty states */
.chat-history-loading[b-ua8zbcnmee],
.chat-history-empty[b-ua8zbcnmee] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    color: #666;
    font-size: 0.85rem;
    text-align: center;
}

.chat-history-empty i[b-ua8zbcnmee] {
    font-size: 1.5rem;
    margin-bottom: 8px;
    opacity: 0.5;
}

.chat-history-empty p[b-ua8zbcnmee] {
    margin: 0;
}

/* Scrollbar styling */
.chat-history-list[b-ua8zbcnmee]::-webkit-scrollbar {
    width: 4px;
}

.chat-history-list[b-ua8zbcnmee]::-webkit-scrollbar-track {
    background: transparent;
}

.chat-history-list[b-ua8zbcnmee]::-webkit-scrollbar-thumb {
    background: rgba(102, 104, 157, 0.3);
    border-radius: 2px;
}

.chat-history-list[b-ua8zbcnmee]::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 104, 157, 0.5);
}
/* /Components/CloudShellPanel.razor.rz.scp.css */
/* Azure Portal-Style Cloud Shell Panel */
.cloud-shell-container[b-xkaa2mr8fo] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    background: #1e1e1e;
    border-top: 1px solid #3c3c3c;
    transition: transform 0.3s ease-in-out;
    transform: translateY(100%);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
    /* Remove fixed height - now controlled by inline style */
}

.cloud-shell-container.open[b-xkaa2mr8fo] {
    transform: translateY(0);
}

/* Resize Handle */
.resize-handle[b-xkaa2mr8fo] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    cursor: ns-resize;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
}

.resize-handle:hover .resize-handle-bar[b-xkaa2mr8fo] {
    background: #0078d4;
}

.resize-handle-bar[b-xkaa2mr8fo] {
    width: 40px;
    height: 4px;
    background: #3c3c3c;
    border-radius: 2px;
    transition: background 0.2s;
}

/* Cloud Shell Header */
.cloud-shell-header[b-xkaa2mr8fo] {
    background: #2d2d30;
    padding: 8px 16px;
    cursor: pointer;
    user-select: none;
    border-bottom: 1px solid #3c3c3c;
    color: #e0e0e0;
    margin-top: 8px; /* Make room for resize handle */
}

.cloud-shell-header:hover[b-xkaa2mr8fo] {
    background: #333337;
}

.cloud-shell-header .form-select[b-xkaa2mr8fo] {
    background: #3c3c3c;
    border: 1px solid #555;
    color: #e0e0e0;
    font-size: 0.875rem;
    padding: 4px 8px;
}

.cloud-shell-header .form-select:focus[b-xkaa2mr8fo] {
    background: #3c3c3c;
    border-color: #0078d4;
    color: #e0e0e0;
}

.cloud-shell-header .btn[b-xkaa2mr8fo] {
    font-size: 0.875rem;
    padding: 4px 12px;
}

/* Cloud Shell Content */
.cloud-shell-content[b-xkaa2mr8fo] {
    /* Height now controlled by inline style */
    display: flex;
    flex-direction: column;
    background: #1e1e1e;
    position: relative;
}

/* Loading message overlay */
.shell-loading[b-xkaa2mr8fo] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #1e1e1e;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e0e0e0;
}

/* Terminal Output */
.terminal-output[b-xkaa2mr8fo] {
    flex: 1;
    overflow-y: auto;
    padding: 12px 16px;
    font-family: 'Cascadia Code', 'Consolas', 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
    color: #cccccc;
}

.terminal-output[b-xkaa2mr8fo]::-webkit-scrollbar {
    width: 10px;
}

.terminal-output[b-xkaa2mr8fo]::-webkit-scrollbar-track {
    background: #1e1e1e;
}

.terminal-output[b-xkaa2mr8fo]::-webkit-scrollbar-thumb {
    background: #3c3c3c;
    border-radius: 5px;
}

.terminal-output[b-xkaa2mr8fo]::-webkit-scrollbar-thumb:hover {
    background: #555555;
}

/* Terminal Lines */
.terminal-line[b-xkaa2mr8fo] {
    margin-bottom: 4px;
    display: flex;
    align-items: flex-start;
}

.terminal-line pre[b-xkaa2mr8fo] {
    white-space: pre-wrap;
    word-wrap: break-word;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
}

.terminal-line.command[b-xkaa2mr8fo] {
    color: #4fc1ff;
    font-weight: 500;
}

.terminal-line.output[b-xkaa2mr8fo] {
    color: #cccccc;
    margin-left: 0;
}

.terminal-line.error[b-xkaa2mr8fo] {
    color: #f48771;
}

.terminal-line.executing[b-xkaa2mr8fo] {
    color: #dcdcaa;
    display: flex;
    align-items: center;
}

.terminal-line .prompt[b-xkaa2mr8fo] {
    color: #4ec9b0;
    margin-right: 8px;
    flex-shrink: 0;
    font-weight: 600;
}

/* Terminal Input */
.terminal-input[b-xkaa2mr8fo] {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: #252526;
    border-top: 1px solid #3c3c3c;
}

.terminal-input .prompt[b-xkaa2mr8fo] {
    color: #4ec9b0;
    margin-right: 8px;
    font-family: 'Cascadia Code', 'Consolas', 'Courier New', monospace;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}

.terminal-input-field[b-xkaa2mr8fo] {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #cccccc;
    font-family: 'Cascadia Code', 'Consolas', 'Courier New', monospace;
    font-size: 14px;
    padding: 0;
}

.terminal-input-field:focus[b-xkaa2mr8fo] {
    box-shadow: none;
    outline: none;
}

.terminal-input-field[b-xkaa2mr8fo]::placeholder {
    color: #666666;
}

.terminal-input-field:disabled[b-xkaa2mr8fo] {
    color: #666666;
    cursor: not-allowed;
}

/* Spinner for executing state */
.spinner-border-sm[b-xkaa2mr8fo] {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Badge Styling */
.cloud-shell-header .badge[b-xkaa2mr8fo] {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 4px 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .cloud-shell-content[b-xkaa2mr8fo] {
        height: 300px;
    }
    
    .cloud-shell-header[b-xkaa2mr8fo] {
        padding: 6px 12px;
    }
    
    .terminal-output[b-xkaa2mr8fo] {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .terminal-input[b-xkaa2mr8fo] {
        padding: 8px 12px;
    }
    
    .terminal-input .prompt[b-xkaa2mr8fo],
    .terminal-input-field[b-xkaa2mr8fo] {
        font-size: 12px;
    }
}

/* Accessibility */
.cloud-shell-header:focus[b-xkaa2mr8fo] {
    outline: 2px solid #0078d4;
    outline-offset: -2px;
}

.terminal-input-field:focus[b-xkaa2mr8fo] {
    outline: 2px solid #0078d4;
    outline-offset: 2px;
}

/* Animation for new lines */
@keyframes fadeIn-b-xkaa2mr8fo {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.terminal-line[b-xkaa2mr8fo] {
    animation: fadeIn-b-xkaa2mr8fo 0.2s ease-out;
}
/* /Components/DocumentExportModal.razor.rz.scp.css */
.export-modal[b-3njunu79n7] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn-b-3njunu79n7 0.2s ease-in;
}

.export-modal.hidden[b-3njunu79n7] {
    display: none;
}

.export-modal.visible[b-3njunu79n7] {
    display: flex;
}

@keyframes fadeIn-b-3njunu79n7 {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-overlay[b-3njunu79n7] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.modal-content[b-3njunu79n7] {
    position: relative;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideUp-b-3njunu79n7 0.3s ease-out;
}

@keyframes slideUp-b-3njunu79n7 {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header[b-3njunu79n7] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #e0e0e0;
}

.modal-header h3[b-3njunu79n7] {
    margin: 0;
    font-size: 1.5rem;
    color: #333;
    font-weight: 600;
}

.close-btn[b-3njunu79n7] {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.close-btn:hover[b-3njunu79n7] {
    background-color: #f0f0f0;
    color: #333;
}

.modal-body[b-3njunu79n7] {
    padding: 24px;
    min-height: 300px;
}

.modal-footer[b-3njunu79n7] {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding: 20px 24px;
    border-top: 1px solid #e0e0e0;
}

/* Loading State */
.loading-state[b-3njunu79n7] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-height: 300px;
}

.spinner[b-3njunu79n7] {
    width: 48px;
    height: 48px;
    border: 4px solid #f0f0f0;
    border-top-color: #3668ab;
    border-radius: 50%;
    animation: spin-b-3njunu79n7 1s linear infinite;
}

@keyframes spin-b-3njunu79n7 {
    to {
        transform: rotate(360deg);
    }
}

/* Error State */
.error-message[b-3njunu79n7] {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 16px;
    color: #856404;
    margin-bottom: 16px;
}

.error-message strong[b-3njunu79n7] {
    display: block;
    margin-bottom: 8px;
}

/* Success State */
.success-state[b-3njunu79n7] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 40px 0;
    text-align: center;
}

.success-icon[b-3njunu79n7] {
    font-size: 48px;
    animation: scaleIn-b-3njunu79n7 0.4s ease-out;
}

@keyframes scaleIn-b-3njunu79n7 {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.success-state h4[b-3njunu79n7] {
    margin: 0;
    font-size: 1.25rem;
    color: #333;
}

.success-state p[b-3njunu79n7] {
    margin: 8px 0;
    color: #666;
    font-size: 0.95rem;
}

.download-btn[b-3njunu79n7] {
    display: inline-block;
    background-color: #3668ab;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 16px;
    transition: all 0.2s ease;
}

.download-btn:hover[b-3njunu79n7] {
    background-color: #254a87;
    box-shadow: 0 4px 12px rgba(54, 104, 171, 0.3);
}

/* Export Options */
.export-options[b-3njunu79n7] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.option-section[b-3njunu79n7] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-section h4[b-3njunu79n7] {
    margin: 0;
    font-size: 1rem;
    color: #333;
    font-weight: 600;
}

.option-section p[b-3njunu79n7] {
    margin: 0;
    color: #666;
    font-size: 0.85rem;
}

.button-group[b-3njunu79n7] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn[b-3njunu79n7] {
    padding: 12px 16px;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.btn-primary[b-3njunu79n7] {
    background-color: #3668ab;
    color: white;
}

.btn-primary:hover[b-3njunu79n7] {
    background-color: #254a87;
    box-shadow: 0 4px 12px rgba(54, 104, 171, 0.2);
}

.btn-secondary[b-3njunu79n7] {
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #e0e0e0;
}

.btn-secondary:hover[b-3njunu79n7] {
    background-color: #e8e8e8;
    border-color: #d0d0d0;
}

.btn-outline[b-3njunu79n7] {
    background-color: transparent;
    color: #3668ab;
    border: 1px solid #3668ab;
}

.btn-outline:hover[b-3njunu79n7] {
    background-color: #f0f5ff;
}

.btn:disabled[b-3njunu79n7] {
    opacity: 0.5;
    cursor: not-allowed;
}

.divider[b-3njunu79n7] {
    height: 1px;
    background-color: #e0e0e0;
    margin: 8px 0;
}

/* Export List */
.export-list[b-3njunu79n7] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.export-item[b-3njunu79n7] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background-color: #f9f9f9;
    border-radius: 6px;
    border: 1px solid #e8e8e8;
}

.export-name[b-3njunu79n7] {
    flex: 1;
    font-weight: 500;
    color: #333;
    word-break: break-word;
}

.export-size[b-3njunu79n7] {
    color: #999;
    font-size: 0.85rem;
    white-space: nowrap;
}

.export-link[b-3njunu79n7] {
    color: #3668ab;
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.export-link:hover[b-3njunu79n7] {
    color: #254a87;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
    .modal-content[b-3njunu79n7] {
        width: 95%;
        max-height: 90vh;
    }

    .modal-header[b-3njunu79n7] {
        padding: 16px;
    }

    .modal-header h3[b-3njunu79n7] {
        font-size: 1.25rem;
    }

    .modal-body[b-3njunu79n7] {
        padding: 16px;
    }

    .button-group[b-3njunu79n7] {
        flex-direction: column;
    }

    .export-item[b-3njunu79n7] {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* /Components/ExportButton.razor.rz.scp.css */
.export-button-container[b-5opmp9flfj] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.export-trigger-btn[b-5opmp9flfj] {
    background-color: #3668ab;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.export-trigger-btn:hover[b-5opmp9flfj] {
    background-color: #254a87;
    box-shadow: 0 4px 12px rgba(54, 104, 171, 0.2);
    transform: translateY(-2px);
}

.export-trigger-btn:active[b-5opmp9flfj] {
    transform: translateY(0);
}

.export-trigger-btn:disabled[b-5opmp9flfj] {
    background-color: #cccccc;
    color: #666;
    cursor: not-allowed;
    opacity: 0.6;
}
