/* ================== EMERGENCY ALERTS (class.emergency_alerts.php) ==================
   ea_ classes: the employer page (employers?a=emergency), its drawers (the form, the alert's
   roll call, the confirms), and the answer page (emergency_respond.php). the drawers borrow the
   meetings' bones (cm_box, cm_tabs, cm_person_row, cm_foot, cm_confirm — css/company_meetings.css);
   this file is the red on top */

/* the page */
/* inside the phone's tool drawer the door is the footer button, not the hero's or the list heading's */
.employer_tool_drawer_emergency .svy_intro_buttons, .employer_tool_drawer_emergency .svy_list_top .svy_create { display: none; }
.ea_btn_red, .svy_create.ea_btn_red, .svy_intro_button.ea_btn_red { background: #b91c1c !important; border-color: #b91c1c !important; color: #fff !important; }
.ea_btn_red:hover, .ea_btn_red:focus { background: #991616 !important; border-color: #991616 !important; }
.cm_foot .btn.ea_btn_red[disabled], .ea_btn_red:disabled { background: #b91c1c !important; border-color: #b91c1c !important; opacity: .45; cursor: not-allowed; }
.ea_btn_green, .cm_foot .btn.ea_btn_green[disabled], .ea_btn_green:disabled { background: #1f7a45 !important; border-color: #1f7a45 !important; color: #fff !important; }
.ea_btn_green:hover, .ea_btn_green:focus { background: #176137 !important; border-color: #176137 !important; }
.ea_hero .svy_intro_title span { color: #b91c1c; }
.ea_hero .svy_intro_list i { color: #b91c1c; }
.ea_num { background: #b91c1c !important; }
.ea_more .cm_card i { color: #b91c1c; }
.ea_works_note { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #5b6b70; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 8px; padding: 8px 12px; margin: 14px 0 0; }
.ea_works_note i { color: #c2410c; }
.ea_page, .ea_page * { min-width: 0; }
.ea_page .settings_row_label { overflow-wrap: anywhere; }
.ea_row_past { opacity: .75; }
.ea_icon_live { background: #fdeaea !important; color: #b91c1c !important; }
.ea_icon_live i { color: #b91c1c !important; }
.ea_t_here { background: #e6f3f3; color: #0f7777; }
.ea_pill { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: 2px 8px; margin-left: 6px; vertical-align: 2px; }
.ea_pill_live { background: #b91c1c; color: #fff; animation: ea_pulse 1.6s ease-in-out infinite; }
.ea_pill_clear { background: #e3f4ea; color: #1f7a45; }
.ea_pill_past { background: #eef0f2; color: #6b7280; }
.ea_pill_drill { background: #fff4de; color: #9a6400; }
@keyframes ea_pulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }

/* the Next steps card and its window */
.ea_next_icon { background: #eef7f7 !important; } .ea_next_icon i { color: #0f7777 !important; }
.ea_next_card { margin-bottom: 10px; }
.ea_next_head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.ea_next_head .cm_detail_title { font-size: 17px; }
.ea_next_num { flex: none; width: 30px; height: 30px; border-radius: 50%; background: #0f7777; color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.ea_next_tag { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: 2px 8px; }
.ea_next_tag_you { background: #e3f4ea; color: #1f7a45; }
.ea_next_tag_app { background: #fff4de; color: #9a6400; }
.ea_next_tag_site { background: #e6f3f3; color: #0f7777; }
.ea_next_why { font-size: 14px; color: #435b64; line-height: 1.5; margin-top: 8px; }
.ea_next_why b { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: #8a9a9f; margin-bottom: 2px; }
.ea_next_takes { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; color: #435b64; line-height: 1.5; background: #f7fbfb; border: 1px solid #dfe8ea; border-radius: 8px; padding: 8px 10px; margin-top: 10px; }
.ea_next_takes i { color: #0f7777; margin-top: 2px; flex: none; }

/* the form */
.ea_warn { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; line-height: 1.45; color: #7f1d1d; background: #fdeaea; border: 1px solid #f5c2c2; border-radius: 10px; padding: 10px 12px; margin-bottom: 4px; }
.ea_warn i { color: #b91c1c; font-size: 16px; margin-top: 1px; flex: none; }
.ea_form_container .form-control { width: 100%; min-width: 0; box-sizing: border-box; }
.ea_form_container .pd_form textarea.form-control { height: auto; resize: vertical; }
.ea_templates .pd_card.pd_on { border-color: #b91c1c; box-shadow: 0 0 0 1px #b91c1c inset; background: #fff5f5; }
.ea_templates .pd_card.pd_on .pd_card_check { background: #b91c1c; border-color: #b91c1c; }
.ea_card_icon { color: #b91c1c; }
.ea_switch_row { cursor: pointer; }
.ea_switch_row .ea_switch { flex: none; margin: 0 0 0 8px; width: 30px; height: 30px; padding: 4px; background: white; border: 2px solid #9aa5a5; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; }
.ea_switch_row .ea_switch.checkbox_active { border-color: #b91c1c; }
.ea_switch_row .ea_switch .custom_checkbox_checker { top: 0; line-height: 1; color: #b91c1c; font-size: 13px; }
.ea_switch_row .ea_switch .custom_checkbox_checker.hide_me { display: none; }
.ea_count_card { cursor: default; }
.ea_count_card .settings_row_icon { background: #fdeaea; color: #b91c1c; }
.ea_count_on { color: #0f7777; font-weight: 600; }
.ea_confirm_line { flex: 1 1 100%; margin: 0 0 10px; }
.ea_confirm_line .form-control { width: 100%; text-align: center; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: 16px; height: 44px; border: 2px solid #f5c2c2; }
.ea_confirm_line .form-control:focus { border-color: #b91c1c; box-shadow: none; }
.ea_form_container .cm_foot { background: #fff; }

/* the alert (the roll call) */
.ea_ago { color: #8a9a9f; font-size: 13px; }
.ea_channels { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.ea_ch { font-size: 13px; color: #435b64; white-space: nowrap; }
.ea_ch i { color: #0f7777; margin-right: 3px; }
.ea_ch_wait { color: #9a6400; }
.ea_ch_wait i { color: #9a6400; }
.ea_spin { display: inline-block; animation: ea_spin 1.2s linear infinite; }
@keyframes ea_spin { to { transform: rotate(360deg); } }
.ea_clear_row i { color: #1f7a45 !important; }
.ea_tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0 0 10px; }
@media (max-width: 420px) { .ea_tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ea_tile { background: #fff; border: 1.5px solid var(--pd_line, #dbe4e6); border-radius: 10px; padding: 12px 4px 10px; text-align: center; }
.ea_tile b { display: block; font-size: 28px; line-height: 1.05; font-weight: 800; }
.ea_tile span { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #6b7280; }
.ea_tile_coming { border-color: #1f7a45; } .ea_tile_coming b { color: #1f7a45; }
.ea_tile_here { border-color: #0f7777; } .ea_tile_here b { color: #0f7777; }
.ea_tile_cant b { color: #b91c1c; }
.ea_tile_none b { color: #6b7280; }
.ea_bar_coming { background: #1f7a45; } .ea_bar_here { background: #0f7777; } .ea_bar_cant { background: #b91c1c; } .ea_bar_none { background: #c9d1d6; }
.ea_icon_coming { background: #e3f4ea !important; } .ea_icon_coming i { color: #1f7a45 !important; }
.ea_icon_here { background: #e6f3f3 !important; } .ea_icon_here i { color: #0f7777 !important; }
.ea_icon_cant { background: #fdeaea !important; } .ea_icon_cant i { color: #b91c1c !important; }
.ea_icon_none { background: #eef0f2 !important; } .ea_icon_none i { color: #8a9a9f !important; }
.ea_pp_coming { background: #e3f4ea; color: #1f7a45; } .ea_pp_here { background: #e6f3f3; color: #0f7777; } .ea_pp_cant { background: #fdeaea; color: #b91c1c; } .ea_pp_none { background: #eef0f2; color: #6b7280; }
.cm_person_pill small { display: block; font-size: 9.5px; font-weight: 600; opacity: .8; text-align: center; }
.ea_on_shift { color: #0f7777; font-weight: 600; }
.ea_reach i { color: #8a9a9f; margin-right: 2px; font-size: 12px; }
.ea_reach_wait { color: #9a6400; font-style: italic; }
.ea_reach_none { color: #b91c1c; font-style: italic; }
.ea_foot_pair { display: flex; gap: 8px; flex: 1 1 100%; }
.ea_foot_pair .btn { flex: 1; }
.ea_foot_n { display: inline-block; background: rgba(255,255,255,.25); border-radius: 999px; padding: 0 7px; margin-left: 4px; font-size: 12px; }
.ea_foot_pair .btn[disabled] .ea_foot_n { background: rgba(255,255,255,.15); }
.ea_confirm_box { flex: none; margin: 0; width: 30px; height: 30px; padding: 4px; background: white; border: 2px solid #9aa5a5; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; }
.ea_confirm_box.checkbox_active { border-color: #b91c1c; }
.ea_confirm_box .custom_checkbox_checker { top: 0; line-height: 1; color: #b91c1c; font-size: 13px; }
.ea_confirm_box .custom_checkbox_checker.hide_me { display: none; }

/* the answer page (emergency_respond.php, on css/appointments.css) */
.ea_r_card { padding-top: 0; overflow: hidden; }
.ea_r_top { background: #b91c1c; color: #fff; margin: 0 -20px 14px; padding: 18px 20px 16px; }
.ea_r_top_clear { background: #1f7a45; }
.ea_r_eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .9; display: flex; align-items: center; gap: 6px; }
.ea_r_title { font-size: 24px; font-weight: 800; letter-spacing: -.3px; margin: 6px 0 4px; line-height: 1.2; }
.ea_r_when { font-size: 13px; opacity: .85; }
.ea_r_drill { display: inline-flex; align-items: center; gap: 6px; background: #fff4de; color: #9a6400; font-weight: 800; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: 4px 10px; margin-bottom: 6px; }
.ea_r_message { font-size: 16px; }
.ea_answers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ea_answer { font: inherit; font-size: 14px; font-weight: 700; color: #4b5b62; background: #fff; border: 1.5px solid #d6e0e2; border-radius: 12px; padding: 14px 6px 12px; cursor: pointer; }
.ea_answer i { display: block; font-size: 22px; margin-bottom: 4px; }
.ea_answer_coming i { color: #1f7a45; } .ea_answer_here i { color: #0f7777; } .ea_answer_cant i { color: #b91c1c; }
.ea_answer_coming.ea_answer_on { background: #1f7a45; border-color: #1f7a45; color: #fff; }
.ea_answer_here.ea_answer_on { background: #0f7777; border-color: #0f7777; color: #fff; }
.ea_answer_cant.ea_answer_on { background: #b91c1c; border-color: #b91c1c; color: #fff; }
.ea_answer.ea_answer_on i { color: #fff; }
.ea_r_eta_off { display: none; }
.ea_etas { display: flex; flex-wrap: wrap; gap: 8px; }
.ea_eta { font: inherit; font-size: 14px; font-weight: 700; color: #1f7a45; background: #fff; border: 1.5px solid #1f7a45; border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.ea_eta.ea_eta_on { background: #1f7a45; color: #fff; }
