/* DevStack Suite Custom Styles */

:root {
    --devstack-code-font: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
}

body {
    font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.code-editor {
    font-family: var(--devstack-code-font) !important;
    font-size: 13.5px !important;
    line-height: 1.55 !important;
    tab-size: 2 !important;
    white-space: pre !important;
    overflow-x: auto !important;
    resize: vertical;
    border-radius: 0 !important;
    background-color: #fafbfc;
}

html.dark-style .code-editor {
    background-color: #1e1f29 !important;
    color: #e2e8f0 !important;
}

/* Tool card animations */
.hover-elevate {
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}

.hover-elevate:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(115, 103, 240, 0.15), 0 8px 10px -6px rgba(115, 103, 240, 0.1);
    border-color: rgba(115, 103, 240, 0.4) !important;
}

.transition-all {
    transition: all 0.2s ease-in-out;
}

/* Star favorite button */
.favorite-btn.active i {
    color: #ff9f43 !important;
    font-weight: bold;
}

.btn-xs {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    line-height: 1.2;
    border-radius: 0.25rem;
}

/* Fullscreen mode for code editor */
.editor-fullscreen {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 99999 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: #fff;
}

html.dark-style .editor-fullscreen {
    background: #25293c !important;
}

.editor-fullscreen textarea {
    height: calc(100vh - 90px) !important;
}

/* Structured Output Table & Cards */
.structured-key-badge {
    font-family: var(--devstack-code-font);
    font-size: 0.8rem;
    font-weight: 600;
}

.structured-val {
    font-family: var(--devstack-code-font);
    font-size: 0.85rem;
    word-break: break-all;
}

/* Toast alert notification container */
#devstackToastContainer {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}