/* Florida's Best Teachers — search styling (prefix mft-) */
.mft-app { margin: 1.5rem 0 2rem; }
.mft-form { background: #f3f7f4; border: 1px solid #d9e5dc; border-radius: 6px; padding: 1.25rem 1.25rem 1rem; }
.mft-form-charters { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 1rem; align-items: end; }
.mft-field { position: relative; margin-bottom: 1rem; }
.mft-form-charters .mft-field { margin-bottom: 0; }
.mft-field label { display: block; font-weight: 600; color: #122e1b; margin-bottom: .35rem; font-size: .95rem; }
.mft-input, .mft-select { width: 100%; font: inherit; font-size: 1rem; padding: .6rem .75rem; border: 1px solid #b9cbbf; border-radius: 4px; background: #fff; color: #2f3b33; }
.mft-input:focus, .mft-select:focus { outline: 2px solid #1caa4b; outline-offset: 1px; border-color: #1caa4b; }
.mft-or { text-align: center; color: #4f5e55; font-style: italic; margin: -.25rem 0 .75rem; }
.mft-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.mft-form-charters .mft-actions { align-self: end; }
.mft-button { display: inline-block; font: inherit; font-weight: 600; font-size: .95rem; text-transform: uppercase; letter-spacing: .03em; padding: .65rem 1.3rem; border-radius: 4px; border: 2px solid #1caa4b; background: #1caa4b; color: #fff; cursor: pointer; text-decoration: none; }
.mft-button:hover, .mft-button:focus { background: #00802a; border-color: #00802a; color: #fff; text-decoration: none; }
.mft-button-plain { background: #fff; color: #00802a; }
.mft-button-plain:hover, .mft-button-plain:focus { background: #e6efe8; color: #00802a; border-color: #00802a; }
.mft-status { margin: .75rem 0 0; color: #4f5e55; font-size: .95rem; }
.mft-status:empty { display: none; }
.mft-suggest { position: absolute; z-index: 20; left: 0; right: 0; top: 100%; margin: 0; padding: 0; list-style: none; background: #fff; border: 1px solid #b9cbbf; border-top: 0; border-radius: 0 0 4px 4px; max-height: 18rem; overflow-y: auto; box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.mft-suggest li { padding: .5rem .75rem; cursor: pointer; font-size: .95rem; }
.mft-suggest li:hover { background: #e6efe8; }
.mft-results { margin-top: 1.5rem; }
.mft-results-title { font-size: 1.35rem; color: #122e1b; margin: 0 0 1rem; }
.mft-section { margin: 0 0 1.5rem; }
.mft-section h3 { font-size: 1.1rem; color: #00802a; margin: 0 0 .5rem; }
.mft-caveat { background: #fffbe6; border-left: 4px solid #dfe4b2; padding: .75rem 1rem; color: #4f5e55; font-size: .95rem; }
.mft-footnote, .mft-results-count { font-size: .85rem; color: #4f5e55; }
.mft-results-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin: 0 0 .75rem; font-size: .9rem; color: #4f5e55; }
.mft-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.mft-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.mft-table th { background: #e6efe8; color: #122e1b; text-align: left; white-space: nowrap; }
.mft-table th, .mft-table td { padding: .45rem .6rem; border-bottom: 1px solid #e1e8e3; vertical-align: top; }
.mft-table tbody tr:hover td { background: #f3f7f4; }
.mft-sortable { cursor: pointer; }
.mft-sortable::after { content: ' ↕'; color: #9fb3a6; font-size: .8em; }
.mft-sortable.is-asc::after { content: ' ↑'; color: #00802a; }
.mft-sortable.is-desc::after { content: ' ↓'; color: #00802a; }
.mft-login-box { background: #f3f7f4; border: 1px solid #d9e5dc; border-radius: 6px; padding: 1.25rem 1.5rem; margin: 1.5rem 0; max-width: 520px; }
.mft-login-box h3 { margin-top: 0; color: #122e1b; }
.mft-login-box label { font-weight: 600; color: #122e1b; }
.mft-login-box input[type="text"], .mft-login-box input[type="password"] { width: 100%; padding: .55rem .7rem; border: 1px solid #b9cbbf; border-radius: 4px; }
.mft-login-box .login-submit input { font-weight: 600; text-transform: uppercase; background: #1caa4b; color: #fff; border: 0; border-radius: 4px; padding: .6rem 1.3rem; cursor: pointer; }
.mft-login-box .login-submit input:hover { background: #00802a; }
.mft-login-error { color: #b82105; font-weight: 600; }
.mft-login-links { margin: .5rem 0; font-size: .9rem; }
.mft-charter-bar { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; background: #e6efe8; padding: .6rem 1rem; border-radius: 4px; font-size: .95rem; }
@media (max-width: 767px) {
	.mft-form-charters { grid-template-columns: 1fr; }
	.mft-results-title { font-size: 1.15rem; }
}
