body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f6f8fb;
    color: #1f1f1f;
}

.page {
    max-width: 680px;
    margin: 24px auto;
    padding: 0 16px;
}

.page-header {
    margin-bottom: 16px;
}

.page-header h1 {
    margin: 8px 0 0;
}

.back-link {
    color: #0a66d9;
    text-decoration: none;
    font-weight: 600;
}

.back-link:hover {
    text-decoration: underline;
}

.scholar-form {
    background: #fff;
    border: 1px solid #e2e6ee;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.scholar-form label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
}

.scholar-form input,
.scholar-form select,
.scholar-form textarea {
    width: 100%;
    margin-top: 6px;
    padding: 10px;
    border: 1px solid #ccd3df;
    border-radius: 8px;
    box-sizing: border-box;
    font: inherit;
}

.geocode-box {
    border: 1px solid #d9e2f1;
    border-radius: 10px;
    padding: 10px 12px 12px;
    margin: 2px 0 14px;
}

.geocode-box legend {
    padding: 0 6px;
    font-weight: 600;
}

.geocode-controls {
    display: flex;
    gap: 8px;
    margin-bottom: 6px;
}

.geocode-controls input {
    margin-top: 0;
}

.geocode-controls button {
    border: 1px solid #0a66d9;
    background: #fff;
    color: #0a66d9;
    border-radius: 8px;
    padding: 10px 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.geocode-controls button:hover {
    background: #edf4ff;
}

.geocode-help {
    margin: 0 0 8px;
    color: #555;
    font-size: 13px;
}

.geocode-results {
    display: grid;
    gap: 6px;
}

.geocode-result-btn {
    width: 100%;
    text-align: left;
    border: 1px solid #ccd3df;
    background: #fff;
    border-radius: 8px;
    padding: 8px 10px;
    cursor: pointer;
}

.geocode-result-btn:hover {
    border-color: #0a66d9;
    background: #f4f8ff;
}

.geocode-empty {
    color: #666;
    font-size: 13px;
}

@media (max-width: 640px) {
    .geocode-controls {
        flex-direction: column;
    }
}

.form-actions {
    margin-top: 8px;
}

.form-actions button {
    border: 1px solid #0a66d9;
    background: #0a66d9;
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.form-actions button:hover {
    background: #0857b8;
    border-color: #0857b8;
}

.form-status {
    min-height: 20px;
    margin: 10px 0 0;
}