@font-face {
    font-family: 'Blueprint';
    src: url('/fonts/Blueprint.otf') format('truetype');
}

.blueprint-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.blueprint-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 500px;
    background-color: #1e1e2e;
    border: 1px solid rgba(100, 108, 255, 0.12);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    z-index: 1001;
    overflow: hidden;
    flex-direction: column;
}

.blueprint-modal[style*="display: flex"] {
    display: flex !important;
}

.blueprint-header {
    background-color: #0d1b3e;
    background-image: 
        linear-gradient(rgba(100, 140, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100, 140, 255, 0.06) 1px, transparent 1px),
        linear-gradient(rgba(100, 140, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100, 140, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px, 40px 40px, 8px 8px, 8px 8px;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(100, 108, 255, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: move;
    user-select: none;
}

.blueprint-title {
    color: #646cff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.blueprint-title i {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(100, 108, 255, 0.4);
}

.blueprint-controls {
    display: flex;
    gap: 8px;
    align-items: center;
}

.blueprint-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.blueprint-btn:hover {
    transform: scale(1.15);
    filter: brightness(1.3);
}

.blueprint-close {
    background-color: #ff6464;
    box-shadow: 0 0 6px rgba(255, 100, 100, 0.3);
}

.blueprint-minimize {
    background-color: #ffbd44;
    box-shadow: 0 0 6px rgba(255, 189, 68, 0.3);
}

.blueprint-maximize {
    background-color: #64ffa3;
    box-shadow: 0 0 6px rgba(100, 255, 163, 0.3);
}

.blueprint-body {
    flex: 1;
    position: relative;
}

#blueprint-editor {
    width: 100%;
    height: 100%;
    background-color: #0d1b3e;
    background-image: 
        linear-gradient(rgba(100, 140, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100, 140, 255, 0.06) 1px, transparent 1px),
        linear-gradient(rgba(100, 140, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100, 140, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px, 40px 40px, 8px 8px, 8px 8px;
    border: none;
    border-left: 1px solid rgba(100, 140, 255, 0.1);
    box-shadow: inset 0 0 80px rgba(100, 140, 255, 0.03);
    color: #646cff;
    text-shadow: 5px 5px 5px #000000;
    font-family: 'Blueprint', monospace;
    font-size: 2.5rem;
    line-height: 1.8;
    padding: 0rem 2rem;
    resize: none;
    outline: none;
    tab-size: 4;
    display: block;
}

#blueprint-editor::placeholder {
    color: rgba(100, 140, 255, 0.15);
    font-style: italic;
}

#blueprint-editor:focus {
    background-color: #0d1b3e;
    background-image: 
        linear-gradient(rgba(100, 140, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100, 140, 255, 0.08) 1px, transparent 1px),
        linear-gradient(rgba(100, 140, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100, 140, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px, 40px 40px, 8px 8px, 8px 8px;
}

#blueprint-editor::-webkit-scrollbar {
    width: 6px;
}

#blueprint-editor::-webkit-scrollbar-thumb {
    background: rgba(100, 140, 255, 0.4);
    border-radius: 3px;
}

#blueprint-editor::-webkit-scrollbar-thumb:hover {
    background: rgba(100, 140, 255, 0.6);
}