/**
 * CachePilot Terminal Simulator Styles
 */

.cachepilot-terminal__container {
    background: #000;
    border: 2px solid #000;
    padding: 1.5rem;
    position: relative;
    box-shadow: 8px 8px 0px 0px rgba(0,0,0,1);
}

.cachepilot-terminal__header {
    position: absolute;
    top: -0.75rem;
    left: 1rem;
    background: #fff;
    color: #000;
    padding: 0.125rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid #000;
    letter-spacing: 0.05em;
}

.cachepilot-terminal__content {
    font-family: var(--wp--preset--font-family--mono);
    font-size: 0.875rem;
    line-height: 1.6;
    color: #fff;
    min-height: 200px;
}

.cachepilot-terminal .terminal-line {
    margin: 0.125rem 0;
    white-space: pre-wrap;
    word-break: break-word;
}

.cachepilot-terminal .terminal-command {
    color: #fff;
}

.cachepilot-terminal .terminal-info {
    color: #9ca3af;
}

.cachepilot-terminal .terminal-success {
    color: #4ade80;
}

.cachepilot-terminal .terminal-warning {
    color: #facc15;
}

.cachepilot-terminal .terminal-error {
    color: #f87171;
}

.cachepilot-terminal .terminal-cursor {
    animation: blink 1s step-end infinite;
    color: #fff;
}

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

/* Decorative corners */
.cachepilot-terminal__container::before {
    content: '';
    position: absolute;
    top: -16px;
    left: -16px;
    width: 64px;
    height: 64px;
    border-left: 2px solid #fff;
    border-top: 2px solid #fff;
    pointer-events: none;
    opacity: 0.3;
}

.cachepilot-terminal__container::after {
    content: '';
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 64px;
    height: 64px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    pointer-events: none;
    opacity: 0.3;
}
