:root {
    --radius: 8px;
    --slide-duration: 0.3s;
    --slide-timing: ease-out;
}

.terminal-floating-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--button-bg);
    color: var(--button-text);
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: all var(--slide-duration) var(--slide-timing);
    font-family: 'Courier New', monospace;
    font-weight: 900;
}

.terminal-floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    background-color: var(--button-hover-bg, var(--button-bg));
}

.terminal-floating-btn:active {
    transform: scale(0.95);
}

.terminal-floating-btn::before {
    content: '>_';
    font-size: 18px;
    font-weight: 950;
    text-shadow: 0 0 1px currentColor;
}

#terminal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.terminal-window {
    background: #000000;
    border-radius: 8px;
    width: 80%;
    height: 70%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.terminal-header {
    background: #333333;
    padding: 12px 16px;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-family: monospace;
    font-weight: bold;
}

.terminal-header button {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

#terminal-content {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    color: #ffffff;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.4;
    white-space: pre-wrap;
    background: #000000;
}

.terminal-input-container {
    background: #333333;
    padding: 12px 16px;
    border-radius: 0 0 8px 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.terminal-input {
    background: #000000;
    border: none;
    border-radius: 4px;
    color: #ffffff;
    font-family: monospace;
    font-size: 14px;
    flex: 1;
    outline: none;
    padding: 4px 8px;
}

@media (max-width: 672px) {
    .terminal-window {
        width: 100%;
        height: 100%;
        max-width: none;
        border-radius: 0;
    }
}

@media (max-width: 70em) {
    .terminal-floating-btn {
        bottom: 15px;
        left: 15px;
        width: 45px;
        height: 45px;
    }

    .terminal-floating-btn::before {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .terminal-floating-btn {
        bottom: 10px;
        left: 10px;
        width: 40px;
        height: 40px;
    }

    .terminal-floating-btn::before {
        font-size: 14px;
    }
}

