body {
    font-family: sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

.container {
    background-color: #fff;
    margin: 2rem auto;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: 90%;
    max-width: 800px;
}

h1, h2, h3 {
    color: #2c3e50;
}

h1 {
    text-align: center;
    margin-bottom: 2rem;
}

h2 {
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 0.5rem;
    margin-top: 2rem;
}

textarea, input[type="password"] {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    margin-bottom: 1rem;
    box-sizing: border-box;
}

button {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #2980b9;
}

#geminiBtn {
    background-color: #2ecc71;
}

#geminiBtn:hover {
    background-color: #27ae60;
}

#geminiStatus {
    margin-top: 1rem;
    text-align: center;
    font-weight: bold;
}

.markov-section {
    margin-top: 2rem;
}

#outputText, #probabilityOutput {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    background-color: #ecf0f1;
}

#probabilityOutput {
    background-color: #f8f9f9;
    border: 1px solid #e0e0e0;
    max-height: 300px;
    overflow-y: auto;
}

#probabilityOutput ul {
    padding-left: 20px;
    margin: 0;
}

#probabilityOutput li {
    margin-bottom: 0.5rem;
}
