/* Typewriter Text Component */
.typewriter-text {
    display: inline-block;
    position: relative;
    color: #ffffff;
    font-weight: 600;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Blinking cursor effect */
.typewriter-text::after {
    content: '|';
    position: relative;
    display: inline-block;
    color: #3b82f6;
    font-weight: bold;
    animation: blink 1s infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* CMD Window Styles */
.cmd-window {
    background: #000000;
    border: 1px solid #333333;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    min-width: 400px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
}

.cmd-header {
    background: #2d2d2d;
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333333;
}

.cmd-title {
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
}

.cmd-controls {
    display: flex;
    gap: 6px;
}

.cmd-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
}

.cmd-button.minimize {
    background: #ffbd2e;
}

.cmd-button.maximize {
    background: #28ca42;
}

.cmd-button.close {
    background: #ff5f57;
}

.cmd-body {
    background: #000000;
    padding: 16px;
    min-height: 60px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cmd-prompt {
    color: #28c7f1;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
}

.cmd-text {
    display: flex;
    align-items: center;
    flex: 1;
}

.cmd-text .typewriter-text {
    color: #ffffff;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 1rem;
    font-weight: 400;
    background: transparent;
    border: none;
    padding: 0;
}

.cmd-text .typewriter-text::after {
    color: #28c7f1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cmd-window {
        min-width: 350px;
    }
    
    .cmd-body {
        padding: 12px;
    }
    
    .cmd-prompt {
        font-size: 0.9rem;
    }
    
    .cmd-text .typewriter-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .cmd-window {
        min-width: 300px;
    }
    
    .cmd-body {
        padding: 10px;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .cmd-prompt {
        font-size: 0.85rem;
    }
    
    .cmd-text .typewriter-text {
        font-size: 0.85rem;
    }
}
