.loading {
    text-align: center;
    padding: 40px 20px;
    color: #a0a0b0;
    grid-column: 1 / -1;
}
.loading i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}
.fa-spin {
    animation: fa-spin 2s infinite linear;
}
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #a0a0b0;
    grid-column: 1 / -1;
}
.empty-state i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}
.empty-assets {
    text-align: center;
    color: #a0a0b0;
    padding: 40px 20px;
}
.empty-assets i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}
.byr-link {
    font-weight: 500;
    color: #747bff;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    padding: 0 2px;
    position: relative;
    cursor: pointer;
}
.byr-link:hover {
    color: #8b91ff;
    background: rgba(116, 123, 255, 0.15);
    border-bottom-color: #747bff;
}
.byr-link:focus {
    outline: 1px solid #646cff;
    outline-offset: 1px;
    border-radius: 1px;
}
.autocomplete-box {
    position: fixed !important;
    background: #252536 !important;
    border: 1px solid #646cff !important;
    border-radius: 6px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6) !important;
    z-index: 10000 !important;
    max-height: 300px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    font-family: 'Courier New', monospace !important;
    backdrop-filter: blur(10px) !important;
    animation: autocompleteSlideDown 0.2s ease-out !important;
}
.autocomplete-item .autocomplete-command {
    position: relative;
}
.autocomplete-match {
    color: #64ffa3 !important;
    font-weight: bold !important;
}
.autocomplete-header {
    padding: 6px 12px !important;
    background: #2d2d3f !important;
    color: #64ffa3 !important;
    font-size: 11px !important;
    border-bottom: 1px solid #3a3a4a !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}
.autocomplete-item {
    padding: 10px 12px !important;
    cursor: pointer !important;
    border-bottom: 1px solid #2d2d3f !important;
    transition: all 0.15s ease !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 15px !important;
}
.autocomplete-item:hover {
    background: #36364a !important;
    color: #64ffa3 !important;
    transform: translateX(2px) !important;
}
.autocomplete-item:last-child {
    border-bottom: none !important;
}
.autocomplete-command {
    font-weight: bold !important;
    color: inherit !important;
    font-size: 13px !important;
    font-family: 'Courier New', monospace !important;
}
.autocomplete-description {
    color: #a0a0b0 !important;
    font-size: 11px !important;
    text-align: right !important;
    max-width: 200px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-style: italic !important;
}
.console-notification {
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}
.console-notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
    transparent, 
  rgba(255, 255, 255, 0.2), 
    transparent);
    animation: subtleGlassSlide 1s ease-in-out;
    border-radius: 4px;
    z-index: 1;
}
.console-notification .fa-terminal,
.console-notification {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}
.console-color-error .fa-terminal,
.console-color-error,
.console-color-error span {
    color: #ff6464 !important;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}
.console-color-warning .fa-terminal,
.console-color-warning,
.console-color-warning span {
    color: #ffbd44 !important;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}
.console-color-success .fa-terminal,
.console-color-success,
.console-color-success span {
    color: #64ffa3 !important;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}
.console-color-info .fa-terminal,
.console-color-info,
.console-color-info span {
    color: #646cff !important;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}
.console-btn-has-errors::after {
    content: '';
    position: absolute;
    top: 2px;
    right: 2px;
    width: 6px;
    height: 6px;
    background: #ff6464;
    border-radius: 50%;
    animation: subtlePulse 2s infinite;
}
.console-btn-has-errors.console-color-warning::after {
    background: #ffbd44;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}
.console-btn-has-errors.console-color-success::after {
    background: #64ffa3;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}
.console-btn-has-errors.console-color-info::after {
    background: #646cff;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}
.console-color-error {
    text-shadow: 0 0 8px rgba(255, 100, 100, 0.3);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}
.console-color-warning {
    text-shadow: 0 0 8px rgba(255, 189, 68, 0.3);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}
.console-color-success {
    text-shadow: 0 0 8px rgba(100, 255, 163, 0.3);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}
.console-color-info {
    text-shadow: 0 0 8px rgba(100, 108, 255, 0.3);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}
.error-line-highlight {
    border-left: 3px solid #ff6464 !important;
    position: relative;
}
.error-line-highlight::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ff6464;
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out !important;
}
.error-line-pulse::after {
    animation: error-pulse-simple 1s 6 ease-in-out !important;
}
.error-line-fade-out::after {
    animation: fade-out 0.5s ease-in-out forwards !important;
}
.error-link {
    color: #ff6464 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    border-bottom: 1px dashed #ff6464 !important;
    transition: all 0.3s ease !important;
    font-family: inherit !important;
    background: transparent !important;
}
.error-link:hover {
    color: #ff9494 !important;
    border-bottom: 1px solid #ff9494 !important;
    background: rgba(255, 100, 100, 0.1) !important;
}
.warning-link {
    color: #ffbd44 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    border-bottom: 1px dashed #ffbd44 !important;
    transition: all 0.3s ease !important;
    font-family: inherit !important;
    background: transparent !important;
}
.warning-link:hover {
    color: #ffd37a !important;
    border-bottom: 1px solid #ffd37a !important;
    background: rgba(255, 189, 68, 0.1) !important;
}
.warning-line-highlight {
    border-left: 3px solid #ffbd44 !important;
    position: relative;
}
.warning-line-highlight::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffbd44;
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out !important;
}
.warning-line-pulse::after {
    animation: warning-pulse-simple 1s 6 ease-in-out !important;
}
.warning-line-fade-out::after {
    animation: fade-out 0.5s ease-in-out forwards !important;
}
.console-btn-internal-error {
    background: linear-gradient(
        to top,
        rgba(255, 100, 100, 0.15) 0%,
        rgba(255, 100, 100, 0.1) 50%,
        rgba(255, 100, 100, 0.05) 80%,
        transparent 100%
    ) !important;
    border-color: rgba(255, 100, 100, 0.4) !important;
    box-shadow: 
        inset 0 0 8px rgba(255, 100, 100, 0.3),
        inset 0 0 4px rgba(255, 100, 100, 0.2) !important;
}
.console-btn-internal-warning {
    background: linear-gradient(
        to top,
        rgba(255, 189, 68, 0.15) 0%,
        rgba(255, 189, 68, 0.1) 50%,
        rgba(255, 189, 68, 0.05) 80%,
        transparent 100%
    ) !important;
    border-color: rgba(255, 189, 68, 0.4) !important;
    box-shadow: 
        inset 0 0 8px rgba(255, 189, 68, 0.3),
        inset 0 0 4px rgba(255, 189, 68, 0.2) !important;
}
.console-btn-internal-success {
    background: linear-gradient(
        to top,
        rgba(100, 255, 163, 0.15) 0%,
        rgba(100, 255, 163, 0.1) 50%,
        rgba(100, 255, 163, 0.05) 80%,
        transparent 100%
    ) !important;
    border-color: rgba(100, 255, 163, 0.4) !important;
    box-shadow: 
        inset 0 0 8px rgba(100, 255, 163, 0.3),
        inset 0 0 4px rgba(100, 255, 163, 0.2) !important;
}
.console-btn-internal-info {
    box-shadow: 
        inset 0 0 8px rgba(100, 108, 255, 0.3),
        inset 0 0 4px rgba(100, 108, 255, 0.2) !important;
    background-color: rgba(100, 108, 255, 0.05) !important;
    border-color: rgba(100, 108, 255, 0.4) !important;
}
.console-btn-has-errors {
    position: relative;
}
.console-btn-has-errors.console-btn-internal-warning::after {
    background: #ffbd44;
}
.console-btn-has-errors.console-btn-internal-success::after {
    background: #64ffa3;
}
.console-btn-has-errors.console-btn-internal-info::after {
    background: #646cff;
}
.canvas-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1a1a2e;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: opacity 0.3s ease;
}
.canvas-loading-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}
.canvas-loading-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid #3a3a4a;
    border-top-color: #646cff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 16px;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.canvas-loading-text {
    color: #a0a0b0;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}
.canvas-loading-error {
    color: #ff6464;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    text-align: center;
    display: none;
}
.canvas-loading-error.visible {
    display: block;
}
.canvas-loading-retry {
    margin-top: 12px;
    background: #2d2d3f;
    color: #e2e2e2;
    border: 1px solid #3a3a4a;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    display: none;
}
.canvas-loading-retry.visible {
    display: inline-block;
}
.editor-disabled {
    pointer-events: none;
    opacity: 0.5;
}