/* 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 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;
    margin-bottom: 1rem;
}

.am-form textarea {
    min-height: 150px;
    resize: vertical;
}

.am-form input[type="submit"] {
    background: #0073aa;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
}

.am-form input[type="submit"]:hover {
    background: #005a87;
}

.am-error {
    background: #ffebe8;
    border: 1px solid #c00;
    color: #c00;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.am-success {
    background: #ecf7ed;
    border: 1px solid #46b450;
    color: #46b450;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.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: #f9f9f9;
    font-weight: 600;
}

.am-timer {
    font-size: 1.2em;
    color: #d63638;
    font-weight: bold;
    padding: 1rem;
    background: #ffd0cc;
    border-radius: 4px;
    margin-bottom: 1rem;
    text-align: center;
}

.am-math-answer {
    padding: 1rem;
    background: #f6f7f7;
    border: 1px solid #dcdcde;
    border-radius: 4px;
    margin: 1rem 0;
    font-family: 'MathJax_Math', 'MathJax_Main', 'STIX', serif;
}

@media (max-width: 768px) {
    .am-form {
        padding: 1rem;
        margin: 1rem;
    }
    
    .am-table {
        font-size: 0.9rem;
    }
}




