/* Terminal Contact Form Styles */
.terminal-section {
    background-color: #0d1117e3;
    background-image: radial-gradient(#0d1117 1.5px, transparent 1.5px);
    background-size: 14px 14px;
    background-position: center;
    border-bottom: 1px solid #EAEAEA;
    /* GitHub Dark Dimmed */
    color: #c9d1d9;
    font-family: 'Courier New', Courier, monospace;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 40px 16px;
}

.terminal-window {
    width: 100%;
    max-width: 800px;
    background-color: #0d1117;
    border: 1px solid #30363d;
    border-radius: 6px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.terminal-header {
    background-color: #161b22;
    padding: 10px 15px;
    border-bottom: 1px solid #30363d;
    display: flex;
    gap: 8px;
    align-items: center;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red {
    background-color: #ff5f56;
}

.dot-yellow {
    background-color: #ffbd2e;
}

.dot-green {
    background-color: #27c93f;
}

.terminal-title {
    margin-left: 10px;
    font-size: 0.9rem;
    color: #8b949e;
}

.terminal-body {
    padding: 20px;
    font-size: 1.1rem;
    line-height: 1.6;
}

@media (max-width: 576px) {
    .terminal-section {
        padding: 28px 12px;
        gap: 16px;
    }

    .terminal-window {
        border-radius: 4px;
    }

    .terminal-body {
        padding: 14px 12px;
        font-size: 0.85rem;
    }

    .terminal-title {
        font-size: 0.75rem;
    }

    #terminal-input {
        width: 0;
        flex: 1;
        min-width: 0;
    }
}

.terminal-line {
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
}

.prompt {
    color: #27c93f;
    /* Green prompt */
    margin-right: 10px;
}

.path {
    color: #FDBA74;
    /* Orange path */
}

.command-text {
    color: #c9d1d9;
}

.input-line {
    display: flex;
    align-items: center;
}

#terminal-input {
    background: transparent;
    border: none;
    color: #c9d1d9;
    font-family: inherit;
    font-size: inherit;
    outline: none;
    /* Use native caret for better UX and positioning */
    caret-color: #c9d1d9;
}

/* Removed custom cursor to fix positioning issue */
.cursor {
    display: none;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hidden {
    display: none;
}

.success-message {
    color: #27c93f;
    font-weight: bold;
    margin-top: 20px;
}