/* Ethiopian calendar pickers — see public/js/ethiopian-calendar.js */
body, input, select, textarea, button {
    font-family: 'Roboto', 'Noto Sans Ethiopic', 'Nyala', 'Ebrima', 'Kefa', sans-serif;
}
.eth-field { position: relative; display: inline-block; max-width: 100%; vertical-align: middle; }
.eth-field.eth-block { display: block; width: 100%; }
.eth-field.eth-block > .eth-display { width: 100%; }
.eth-field-time, .eth-field-month { display: inline-flex; align-items: center; gap: 4px; }
.eth-field-time.eth-block, .eth-field-month.eth-block { display: flex; }
.eth-field-time > select, .eth-field-month > select { width: auto !important; min-width: 0; flex: 1 1 auto; }
.eth-field > input.eth-native {
    position: absolute !important; left: 0; top: 0; width: 100% !important; height: 100% !important;
    opacity: 0 !important; pointer-events: none !important; margin: 0 !important; padding: 0 !important;
    border: 0 !important; min-width: 0 !important;
}
.eth-display { cursor: pointer; }
.eth-popup {
    position: absolute; z-index: 10050; background: #fff; border: 1px solid #d0d7de; border-radius: 10px;
    box-shadow: 0 8px 28px rgba(0,0,0,.18); padding: 10px; width: 272px; font-size: 13px; color: #1f2937;
}
.eth-popup .eth-head { display: flex; align-items: center; gap: 4px; margin-bottom: 8px; }
.eth-popup .eth-head span { flex: 1; text-align: center; font-weight: 700; font-size: 14px; }
.eth-popup .eth-head button { border: 0; background: #f1f5f9; border-radius: 6px; width: 28px; height: 28px; cursor: pointer; font-size: 15px; }
.eth-popup .eth-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.eth-popup .eth-grid b { text-align: center; font-size: 11px; color: #64748b; padding: 4px 0; font-weight: 600; }
.eth-popup .eth-grid button {
    border: 0; background: transparent; border-radius: 6px; height: 32px; cursor: pointer; font-size: 13px; color: inherit;
}
.eth-popup .eth-grid button:hover:not(:disabled) { background: #e0f2f1; }
.eth-popup .eth-grid button.today { outline: 1px solid #00796B; }
.eth-popup .eth-grid button.sel { background: #00796B; color: #fff; }
.eth-popup .eth-grid button:disabled { color: #cbd5e1; cursor: not-allowed; }
.eth-popup .eth-foot { display: flex; justify-content: space-between; margin-top: 8px; }
.eth-popup .eth-foot button { border: 0; background: #f1f5f9; border-radius: 6px; padding: 6px 12px; cursor: pointer; }
@media print { .eth-native { display: none !important; } }
