/* css/assignment-manager.css */
.am-form {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.am-form h2 {
    margin-top: 0;
    color: #2c3e50;
    border-bottom: 2px solid #eee;
    padding-bottom: 0.5rem;
}
.am-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}
.am-form input[type="text"],
.am-form input[type="email"],
.am-form input[type="url"],
.am-form input[type="number"],
.am-form textarea,
.am-form select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}
.am-form input[readonly] {
    background: #f0f0f0;
}
.am-form input[type="text"]:focus,
.am-form input[type="email"]:focus,
.am-form input[type="url"]:focus,
.am-form input[type="number"]:focus,
.am-form textarea:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52,152,219,0.1);
}
.am-form textarea {
    min-height: 200px;
    resize: vertical;
}
.am-form input[type="file"] {
    padding: 0.5rem;
    border: 1px dashed #ccc;
    background: #f9f9f9;
}
.file-feedback {
    margin-top: 0.5rem;
    padding: 2px;
    border-radius: 4px;
    font-size: 0.9rem;
}
.file-feedback.loading {
    background: #e7f5ff;
    color: #1864ab;
    border-left: 3px solid #228be6;
}
.file-feedback.success {
    background: #ebfbee;
    color: #2b8a3e;
    border-left: 3px solid #40c057;
}
.file-feedback.error {
    background: #fff5f5;
    color: #c92a2a;
    border-left: 3px solid #fa5252;
}
.am-form input[type="submit"] {
    background: #3498db;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}
.am-form input[type="submit"]:hover {
    background: #2980b9;
}
.am-form input[type="submit"]:disabled {
    background: #95a5a6;
    cursor: not-allowed;
}
.am-error {
    background: #f8d7da;
    border-left: 4px solid #dc3545;
    color: #721c24;
    padding: 1rem;
    border-radius: 4px;
}
.am-success {
    background: #d4edda;
    border-left: 4px solid #28a745;
    color: #155724;
    padding: 1rem;
    border-radius: 4px;
}
.am-ai-response {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #eee;
}
.am-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}
.am-table th, .am-table td {
    padding: 0.75rem;
    border: 1px solid #ddd;
    text-align: left;
}
.am-table th {
    background: #f8f9fa;
    font-weight: 600;
}
.am-table tr:nth-child(even) {
    background: #f9f9f9;
}
.ai-assessment-display {
    max-width: 800px;
    margin: 2rem auto;
}
.submissions-section h3 {
    color: #2c3e50;
    border-bottom: 2px solid #eee;
    padding-bottom: 0.5rem;
}
.pdf-list {
    list-style: none;
    padding: 0;
}
.pdf-list li {
    padding: 10px;
    border-bottom: 1px solid #eee;
}
.pdf-list li:last-child {
    border-bottom: none;
}
.pdf-link {
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
}
.pdf-link:hover {
    text-decoration: underline;
}
.pdf-meta {
    font-size: 0.9em;
    color: #555;
    margin-top: 5px;
}
.assessment-results {
    margin-top: 10px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 4px;
}
.no-messages {
    color: #777;
    font-style: italic;
}
.am-timer {
    font-size: 1.2em;
    color: #d63031;
    font-weight: bold;
}
.am-explanation-canvas {
    max-width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
}
@media (max-width: 768px) {
    .am-form {
        padding: 1rem;
        margin: 1rem;
    }
    .am-form textarea {
        min-height: 150px;
    }
}


