/* ================== STAFF MEETINGS (class.company_meetings.php) ==================
   cm_ classes: the employer page (employers?a=meetings), its drawers, the staff invite drawer,
   and the MEETING card on the /home calendar */

/* 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_meetings .svy_intro_buttons, .employer_tool_drawer_meetings .svy_list_top .svy_create { display: none; }
.cm_tool_foot { flex: none; background: #eef3f3; padding: 10px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid #dfe8ea; }
.cm_tool_foot .cm_new { font-weight: 700; padding: 11px; border-radius: 4px; }
.cm_hero .svy_intro_art { max-width: 520px; }
.cm_pilot_note { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #5b6b70; background: #eef7f7; border: 1px solid #cfe5e6; border-radius: 8px; padding: 8px 12px; margin: 0 0 14px; }
.cm_pilot_note i { color: #0f7777; }
.cm_row_past { opacity: .7; }
.cm_row_tally { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 5px; }
.cm_page, .cm_page * { min-width: 0; }
.cm_page .settings_row_label { overflow-wrap: anywhere; }
.cm_t { font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 2px 8px; background: #eef0f2; color: #4b5b62; }
.cm_t_yes { background: #e3f4ea; color: #1f7a45; }
.cm_t_maybe { background: #fff4de; color: #9a6400; }
.cm_t_no { background: #fdeaea; color: #b91c1c; }
.cm_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; }
.cm_pill_draft { background: #eef0f2; color: #4b5b62; }
.cm_pill_sent { background: #e6f3f3; color: #0f7777; }
.cm_pill_past { background: #eef0f2; color: #6b7280; }
.cm_pill_off { background: #fdeaea; color: #b91c1c; }

/* under the hero */
.cm_more { margin: 22px 0 8px; }
.cm_more_title { font-family: 'Alegreya Sans', sans-serif; font-weight: 500; font-size: 1.7em; letter-spacing: -.01em; margin: 0 0 14px; }
.cm_steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cm_step { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid #dfe8ea; border-radius: 14px; padding: 16px; min-width: 0; }
.cm_step_num { flex: none; width: 32px; height: 32px; border-radius: 50%; background: #0f7777; color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.cm_step_text { min-width: 0; }
.cm_step_text b { display: block; font-size: 15px; margin-bottom: 3px; }
.cm_step_text span { font-size: 13.5px; color: #435b64; line-height: 1.5; }
.cm_cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.cm_card { background: #f7fbfb; border: 1px solid #dfe8ea; border-radius: 14px; padding: 16px; min-width: 0; }
.cm_card i { display: block; font-size: 22px; color: #0f7777; margin-bottom: 6px; }
.cm_card b { display: block; font-size: 14.5px; margin-bottom: 3px; }
.cm_card span { font-size: 13.5px; color: #435b64; line-height: 1.5; }
@media (max-width: 1100px) { .cm_cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .cm_steps, .cm_cards { grid-template-columns: 1fr; } .cm_more_title { font-size: 1.45em; } }

/* the form (the process-drawer look: pd_ labels, pd_form boxes, pd_chips) */
.cm_form_container .form-control { width: 100%; min-width: 0; box-sizing: border-box; }
.cm_form_container .pd_label:first-child { margin-top: 0; }
.cm_form_container .pd_form textarea.form-control { height: auto; resize: vertical; }
/* a labelled line inside a form box: the tag on the left, the control filling the rest */
.cm_pd_row { display: flex; align-items: center; gap: 10px; padding: 0 0 0 14px; border-top: 1px solid var(--pd_line, #dbe4e6); }
.cm_pd_row:first-child { border-top: 0; }
.cm_pd_tag { flex: none; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--pd_faint, #8a9a9f); min-width: 44px; }
.cm_pd_row .form-control { flex: 1; padding-left: 8px; }
/* Where: three equal buttons, the icon over the word */
.cm_where_btns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cm_where { font: inherit; font-size: 14px; font-weight: 700; color: #4b5b62; background: #fff; border: 1.5px solid var(--pd_line, #dbe4e6); border-radius: 10px; padding: 12px 6px 10px; cursor: pointer; outline: none; -webkit-tap-highlight-color: transparent; }
.cm_where i { display: block; font-size: 22px; color: #0f7777; margin-bottom: 4px; }
.cm_where span { display: block; }
.cm_where.pd_on { border-color: darkcyan; background: var(--pd_brand_wash, #e6f3f4); color: #0b5f5f; box-shadow: 0 0 0 1px darkcyan inset; }
.cm_where.pd_on i { color: darkcyan; }
.cm_chips .pd_card { min-height: 52px; }
.cm_aud_btns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cm_count_card { display: flex; }
.cm_count_card .cm_count_text b { color: #0f7777; }
.cm_roster_search_box { margin: 0 0 8px; }
.cm_roster .pd_card.hide_me { display: none; }
.cm_roster .pd_card:not(.pd_on) { opacity: .55; }
.cm_chips .pd_card_icon { width: 34px; height: 34px; font-size: 16px; }
/* the When rows: every control the height of the name field, its value against the left like a text field
   (webkit centres a date / time value on its own) */
.cm_pd_row .form-control { height: 46px; text-align: left; -webkit-appearance: none; appearance: none; }
.cm_pd_row input[type='date'], .cm_pd_row input[type='time'] { display: flex; align-items: center; justify-content: flex-start; }
.cm_pd_row input::-webkit-date-and-time-value { text-align: left; margin: 0; }
.cm_pd_row select.form-control { -webkit-appearance: menulist; appearance: menulist; padding-right: 28px; }
/* room to breathe under the last choice, more on a phone where the footer sits close */
.cm_form_tail { height: 24px; }
@media (max-width: 767px) { .cm_form_tail { height: 56px; } }
.cm_where_place .pd_form { margin-bottom: 0; }
.cm_where_video .pd_hint { margin: 8px 2px 0; }
.cm_chips.hide_me, .cm_where_place.hide_me, .cm_where_video.hide_me { display: none; }
.cm_confirm { display: flex; align-items: flex-start; gap: 12px; flex: 1 1 100%; margin: 0 0 10px; }
.cm_confirm .cm_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; }
.cm_confirm .cm_confirm_box.checkbox_active { border-color: #0f7777; }
.cm_confirm .cm_confirm_box .custom_checkbox_checker { top: 0; line-height: 1; color: #0f7777; font-size: 13px; }
.cm_confirm .cm_confirm_box .custom_checkbox_checker.hide_me { display: none; }
.cm_confirm_text { font-size: 12.5px; line-height: 1.45; color: #16211f; cursor: pointer; padding-top: 3px; }
/* the site's plain button: darkcyan, 4px corners, full width */
.cm_btn_primary { background: darkcyan; border: 1px solid darkcyan; color: white !important; border-radius: 4px; font-weight: 700; padding: 11px 16px; box-shadow: none; }
.cm_btn_primary:hover, .cm_btn_primary:focus { background: #007a7a; border-color: #007a7a; color: white; }
.cm_foot .btn.cm_btn_primary[disabled], .cm_btn_primary:disabled { background: darkcyan; border-color: darkcyan; color: white !important; opacity: .45; cursor: not-allowed; }
.cm_foot { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; flex: none; background: #eef3f3; padding: 10px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid #dfe8ea; }
.cm_form_container .cm_foot { background: #fff; }
/* the google dropdown sits over the drawer */
.pac-container { z-index: 100000; }

/* the meeting */
.cm_box { background: #fff; border: 1.5px solid var(--pd_line, #dbe4e6); border-radius: var(--pd_radius, 10px); padding: 16px; }
.cm_detail_text { font-size: 14.5px; color: #435b64; line-height: 1.5; }
.cm_detail_sub { font-size: 13px; color: #61727a; margin-top: 1px; }
.cm_detail_indent { margin-left: 24px; }
/* responses: the bar, its key, the tabs, the people with a pill each */
.cm_bar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; background: #eef0f2; }
.cm_bar_seg { height: 100%; }
.cm_bar_yes { background: #1f7a45; } .cm_bar_maybe { background: #d98c00; } .cm_bar_no { background: #b91c1c; } .cm_bar_none { background: #c9d1d6; }
.cm_bar_key { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cm_tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 12px 0 8px; padding-bottom: 2px; }
.cm_tabs::-webkit-scrollbar { display: none; }
.cm_tab { flex: none; font-size: 13px; font-weight: 700; color: #4b5b62; background: #fff; border: 1.5px solid var(--pd_line, #dbe4e6); border-radius: 999px; padding: 6px 12px; cursor: pointer; white-space: nowrap; }
.cm_tab span { font-weight: 600; color: #8a9a9f; margin-left: 3px; }
.cm_tab.cm_tab_on { border-color: darkcyan; background: var(--pd_brand_wash, #e6f3f4); color: #0b5f5f; }
.cm_tab.cm_tab_on span { color: #0f7777; }
.cm_person_row { display: flex; align-items: center; }
.cm_person_row.hide_me { display: none; }
.cm_person_pill { flex: none; font-size: 11px; font-weight: 800; border-radius: 999px; padding: 3px 9px; margin-left: 8px; }
.cm_pp_yes { background: #e3f4ea; color: #1f7a45; } .cm_pp_maybe { background: #fff4de; color: #9a6400; } .cm_pp_no { background: #fdeaea; color: #b91c1c; } .cm_pp_none { background: #eef0f2; color: #6b7280; }
.cm_tools .dropdown-menu { min-width: 200px; border-radius: 8px; padding: 6px 0; }
.cm_tools .dropdown-menu > li > a { padding: 10px 18px; font-size: 14px; display: flex; align-items: center; gap: 10px; }
.cm_tools .dropdown-menu > li > a i { font-size: 15px; width: 18px; text-align: center; }
.cm_btn_danger, .cm_foot .btn.cm_btn_danger[disabled], .cm_btn_danger:disabled { background: #b91c1c; border-color: #b91c1c; }
.cm_btn_danger:hover, .cm_btn_danger:focus { background: #991616; border-color: #991616; }
.cm_draft_note { align-items: flex-start; }
.cm_draft_note > i { margin-top: 2px; }
.cm_draft_note div b { color: #0f7777; }
.cm_detail_title { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.cm_detail_row { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; margin: 8px 0; line-height: 1.45; }
.cm_detail_row i { color: #0f7777; margin-top: 3px; flex: none; }
.cm_detail_row a { color: #0f7777; }
.cm_draft_note { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #4b5b62; background: #fff; border: 1px solid #e3ebeb; border-radius: 6px; padding: 12px 14px; margin-top: 12px; }
.cm_draft_note i { color: #0f7777; }
.cm_tally { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 14px 0 6px; }
@media (max-width: 420px) { .cm_tally { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cm_tally_box { background: #fff; border: 1px solid #e3ebeb; border-radius: 8px; padding: 10px 4px; text-align: center; }
.cm_tally_box b { display: block; font-size: 22px; line-height: 1.1; }
.cm_tally_box span { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: #6b7280; }
.cm_tb_yes b { color: #1f7a45; }
.cm_tb_maybe b { color: #9a6400; }
.cm_tb_no b { color: #b91c1c; }
.cm_tb_none b { color: #6b7280; }
.cm_person_row .settings_row_icon.cm_icon_yes { background: #e3f4ea !important; color: #1f7a45 !important; }
.cm_person_row .settings_row_icon.cm_icon_maybe { background: #fff4de !important; color: #9a6400 !important; }
.cm_person_row .settings_row_icon.cm_icon_no { background: #fdeaea !important; color: #b91c1c !important; }
.cm_person_row .settings_row_icon.cm_icon_none { background: #eef0f2 !important; color: #6b7280 !important; }

/* the invite (staff) */
.cm_done { background: #fff; border: 1.5px solid var(--pd_line, #dbe4e6); border-radius: var(--pd_radius, 10px); padding: 30px 16px 26px; margin-top: 8px; }
.cm_done.hide_me { display: none; }
.cm_answers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cm_answer { font-size: 14px; font-weight: 700; color: #4b5b62; background: #fff; border: 1.5px solid #d6e0e2; border-radius: 10px; padding: 12px 6px; cursor: pointer; }
.cm_answer i { display: block; font-size: 18px; margin-bottom: 2px; }
.cm_answer_yes.cm_answer_on { background: #1f7a45; border-color: #1f7a45; color: #fff; }
.cm_answer_no.cm_answer_on { background: #b91c1c; border-color: #b91c1c; color: #fff; }
.cm_answer_maybe.cm_answer_on { background: #d98c00; border-color: #d98c00; color: #fff; }

/* the todo list's row (class.todo_items.php) */
.todo_window_icon_meeting { background: #efeafb; color: #5b3fb8; }

/* on the /home calendar (class.home.php build_meeting_card) */
.mac_cal_meeting_card { background: #f3f0fb; border: 1px solid #dcd5f3; }
.mac_cal_meeting_accent { background: #5b3fb8; }
.mac_cal_meeting_tag { font-size: 10px; font-weight: 800; letter-spacing: 0.08em; color: #5b3fb8; margin-bottom: 2px; }
.mac_cal_meeting_pill { font-size: 11px; font-weight: 800; border-radius: 999px; padding: 2px 9px; background: #5b3fb8; color: #fff; flex: none; }
.mac_cal_meeting_pill.is_yes { background: #1f7a45; }
.mac_cal_meeting_pill.is_no { background: #b91c1c; }
.mac_cal_meeting_pill.is_maybe { background: #d98c00; }
.mac_cal_chip.mcc_chip_meeting { background: #efeafb; color: #4a2fa0; border-left-color: #5b3fb8; }
.mac_cal_dot_meeting { background: #5b3fb8; }
.mac_cal_cell.mcc_selected .mac_cal_dot_meeting { background: rgba(255,255,255,0.9); }
/* a later flex rule beats .hide_me on its own */
.cm_chips.hide_me { display: none; }
/* the form's Notifications group: settings rows, the add row's icon dashed */
.cm_reminder_list { margin-bottom: 0; }
.cm_reminder_list .settings_row { display: flex; }
.cm_reminder_add_icon { background: #fff !important; border: 1.5px dashed darkcyan; color: darkcyan !important; }
.cm_reminder_none { opacity: .55; cursor: default; }
.cm_reminder_cards .pd_card.cm_reminder_taken { opacity: .45; cursor: default; }
