.outline-generator {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

h1 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 10px;
}

.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.prompt-input {
    width: 100%;
    min-height: 100px;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: vertical;
    font-size: 16px;
}

.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.mode-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mode-selector select {
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
}

.button-group {
    display: flex;
    gap: 10px;
}

.generate-btn, .stop-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.generate-btn {
    background-color: #4CAF50;
    color: white;
}

.generate-btn:hover {
    background-color: #45a049;
}

.stop-btn {
    background-color: #f44336;
    color: white;
}

.stop-btn:hover {
    background-color: #da190b;
}

.generate-btn:disabled, .stop-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.outline-content {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    line-height: 1.6;
}

.outline-content h2 {
    color: #333;
    margin-bottom: 15px;
}

.outline-content h3 {
    color: #444;
    margin: 20px 0 10px 0;
}

.loading-indicator {
    text-align: center;
    margin: 20px 0;
}

.hidden {
    display: none;
}

.typing-dots {
    display: flex;
    justify-content: center;
    gap: 4px;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background-color: #666;
    border-radius: 50%;
    animation: typing 1s infinite ease-in-out;
}

.typing-dots span:nth-child(1) { animation-delay: 0.1s; }
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}