@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&display=swap');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Mono', monospace;
    background-color: #FFC800;
    color: #000;
    line-height: 1.6;
}

/* Header Image */
.header-image {
    width: 100%;
    padding-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-image img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
}

/* Form Container */
.form-container {
    max-width: 400px;
    margin: 40px auto;
    padding: 20px;
    background-color: #FFFFFF;
    border: 3px solid #000;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-container h1 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 24px;
}

.instructions {
    text-align: center;
    margin-bottom: 20px;
    font-size: 14px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 3px;
    font-weight: bold;
    font-size: 14px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 6px;
    border: 3px solid #000;
    border-radius: 4px;
    font-size: 14px;
    font-family: 'Space Mono', monospace;
}

.form-group select {
    background-color: white;
    appearance: none;
    padding-right: 30px;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
}

#totalPoints {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

button[type="submit"] {
    width: 100%;
    height: 52px; /* Double the original height considering padding */
    background-color: #000;
    color: #FFC800;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: 'Space Mono', monospace;
    padding: 6px; /* Match the padding of dropdowns */
    display: flex;
    align-items: center;
    justify-content: center;
}

button[type="submit"]:hover {
    background-color: #333;
}

button[type="submit"]:disabled {
    background-color: #999;
    cursor: not-allowed;
}

/* Submission Status */
.submission-status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
}

.submission-status.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.submission-status.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.submission-status.pending {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {    
    .form-container {
        max-width: 400px;
        width: 90%;
        margin: 40px auto;
    }
}

@media (max-width: 768px) {
    .form-container {
        width: 85%;
    }
}
