/* style.css - Basic styling for the SPA */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f4f7f6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    color: #333;
}

.container {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 600px;
    width: 90%;
}

h1 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 2.2em;
}

p {
    color: #555;
    font-size: 1.1em;
    line-height: 1.6;
}

strong {
    color: #007bff;
}

button {
    background-color: #007bff;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 25px;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.response-box {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
    text-align: left;
    white-space: pre-wrap; /* Preserve whitespace and line breaks */
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.9em;
    color: #343a40;
    transition: background-color 0.3s ease;
    min-height: 80px; /* Ensure visibility even when empty */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: auto; /* Allow horizontal scrolling for long content */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding: 20px;
        width: 95%;
    }
    h1 {
        font-size: 1.8em;
    }
    button {
        padding: 10px 20px;
        font-size: 1em;
    }
}
