/* General Body Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    background-color: #f8f9fa;
    color: #343a40;
}

.container {
    max-width: 900px;
    margin: auto;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

header {
    text-align: center;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

header h1 {
    color: #0056b3;
    font-size: 2em;
    margin-bottom: 0.5rem;
}

header p {
    font-size: 1.1rem;
    color: #6c757d;
}

/* Form Styles */
#search-form {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

#search-form input[type="text"] {
    flex-grow: 1;
    padding: 12px 15px;
    font-size: 1rem;
    border: 1px solid #ced4da;
    border-radius: 5px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

#search-form input[type="text"]:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

#search-form button {
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    background-color: #007bff;
    border: 1px solid #007bff;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

#search-form button:hover {
    background-color: #0056b3;
    border-color: #004085;
}

/* Loading and Error Styles */
.hidden {
    display: none;
}

#loading {
    text-align: center;
    padding: 40px 0;
    font-size: 1.1rem;
    color: #6c757d;
}

.spinner {
    margin: 0 auto 20px auto;
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 123, 255, 0.2);
    border-top-color: #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

#error-message {
    text-align: center;
    padding: 20px;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    margin-top: 20px;
}

/* Report Styles */
#report-container {
    margin-top: 30px;
    padding: 30px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background-color: #fdfdfd;
}

#report-container h2 {
    font-size: 1.5em;
    color: #0056b3;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
    margin-top: 0;
}

#report-container h3 {
    font-size: 1.2em;
    color: #343a40;
    margin-top: 25px;
    margin-bottom: 10px;
}

#report-container p {
    text-align: justify;
    margin-bottom: 1rem;
}

#report-container .conclusion {
    background-color: #e2f0ff;
    border-left: 5px solid #007bff;
    padding: 20px;
    margin: 30px 0;
    font-size: 1.1em;
    font-weight: 500;
    text-align: center;
}

#report-container .conclusion strong {
    font-size: 1.5em;
    display: block;
    margin-top: 10px;
    color: #004085;
}

#report-container .note {
    font-size: 0.9em;
    color: #6c757d;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    font-size: 0.9rem;
    color: #6c757d;
} 