/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
header {
    background-color: #004aad;
    color: white;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header .navbar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header h1 {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Main Content */
main {
    flex: 1;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

section {
    margin-bottom: 2rem;
}

section h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #004aad;
}

section p {
    margin-bottom: 1rem;
    color: #555;
}

/* Form Elements */
input[type="file"] {
    margin-bottom: 1rem;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
    max-width: 300px;
    transition: border-color 0.3s ease-in-out;
}

input[type="file"]:focus {
    border-color: #0056b3;
    outline: none;
}

button {
    background-color: #004aad;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover,
button:focus {
    background-color: #003580;
    transform: scale(1.05);
}

.hidden {
    display: none;
}

/* Analysis Results Section */
#analysis-results {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 1rem;
}

#results-container {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 1rem;
    background-color: #f5f5f5;
    color: #444;
}

/* Collaboration Tool Section */
#collaboration-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 1rem;
}

textarea {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0.5rem;
    font-family: 'Open Sans', sans-serif;
    resize: vertical;
    font-size: 1rem;
    color: #333;
    transition: border-color 0.3s ease-in-out;
}

textarea:focus {
    border-color: #0056b3;
    outline: none;
}

#collaboration-status {
    font-size: 0.875rem;
    color: #333;
    padding: 0.5rem;
    background-color: #e6f2ff;
    border: 1px solid #004aad;
    border-radius: 4px;
    text-align: center;
}

/* Footer */
footer {
    background-color: #004aad;
    color: white;
    text-align: center;
    padding: 1rem;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

footer p {
    font-size: 0.875rem;
}
