/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #121212; /* Warna latar belakang gelap */
    color: #e0e0e0; /* Warna teks terang */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    background: #1e1e1e; /* Warna container gelap */
    border-radius: 15px;
    padding: 25px;
    width: 100%;
    max-width: 900px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); /* Shadow untuk efek depth */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Border halus */
}

.header {
    text-align: center;
    margin-bottom: 25px;
}

.header h2 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #00ffcc; /* Warna cyan untuk judul */
}

#nodeVersion {
    font-size: 1.1rem;
    color: #b0b0b0; /* Warna teks abu-abu */
}

#nodeVersionText {
    font-weight: 600;
    color: #00ffcc; /* Warna cyan untuk versi Node.js */
}

#consoleOutput {
    background: #2a2a2a; /* Warna latar belakang gelap untuk console */
    border-radius: 10px;
    padding: 20px;
    height: 400px;
    overflow-y: auto;
    margin-bottom: 20px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
    line-height: 1.5;
    color: #e0e0e0; /* Warna teks terang */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Border halus */
}

#consoleOutput div {
    margin-bottom: 10px;
}

#consoleOutput .command-line {
    color: #00ffcc; /* Warna cyan untuk perintah */
}

#consoleOutput .output-line {
    color: #e0e0e0; /* Warna teks terang untuk output */
}

#consoleOutput .error-line {
    color: #ff4d4d; /* Warna merah untuk error */
}

.input-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

#commandInput {
    flex: 1;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1); /* Border halus */
    border-radius: 10px;
    background: #2a2a2a; /* Warna latar belakang gelap */
    color: #e0e0e0; /* Warna teks terang */
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

#commandInput:focus {
    border-color: #00ffcc; /* Warna cyan saat focus */
}

#commandInput::placeholder {
    color: #777; /* Warna placeholder abu-abu */
    font-style: italic;
}

#clearBtn {
    background: #00ffcc; /* Warna cyan */
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    color: #121212; /* Warna teks gelap */
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

#clearBtn:hover {
    background: #00ccaa; /* Warna cyan lebih gelap saat hover */
    transform: translateY(-2px); /* Efek hover sedikit naik */
}

.back-btn {
    background: #00ffcc; /* Warna cyan */
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    color: #121212; /* Warna teks gelap */
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    width: 100%;
    text-align: center;
}

.back-btn:hover {
    background: #00ccaa; /* Warna cyan lebih gelap saat hover */
    transform: translateY(-2px); /* Efek hover sedikit naik */
}

/* Scrollbar Styling */
#consoleOutput::-webkit-scrollbar {
    width: 8px;
}

#consoleOutput::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1); /* Warna track scrollbar */
    border-radius: 10px;
}

#consoleOutput::-webkit-scrollbar-thumb {
    background: #00ffcc; /* Warna cyan untuk scrollbar */
    border-radius: 10px;
}

#consoleOutput::-webkit-scrollbar-thumb:hover {
    background: #00ccaa; /* Warna cyan lebih gelap saat hover */
}