/* static/style.css */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f7f6;
    color: #333;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 600px;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

#top-nav {
    /*position: absolute;
    top: 10px;
    right: 10px;
      padding: 5px 10px;
    border-radius: 5px; */
    text-align: center;
    color: #005f73;
    margin-bottom: 10px;
}

#top-nav a {
    color: lightgrey;
    text-decoration: none;
    margin-left: 10px; /* Space between links */
}

#top-nav a:hover {
    text-decoration: underline;
}

h1 {
    text-align: center;
    color: #005f73;
    margin-bottom: 10px;
}

.subtitle {
    text-align: center;
    color: #555;
    margin-bottom: 30px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #005f73;
}

input[type="text"], textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 16px;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
}

button {
    width: 100%;
    padding: 15px;
    background-color: #0a9396;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #005f73;
}

.hidden {
    display: none !important;
}

#loading {
    text-align: center;
    margin-top: 30px;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0a9396;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#result-area {
    margin-top: 30px;
    padding: 20px;
    background-color: #e9f5f5;
    border-left: 5px solid #0a9396;
    border-radius: 6px;
}

#result-content h3, #result-content h4 {
    color: #005f73;
}