.container { max-width: 820px; margin: 3px auto 0 auto; background: #fff; border-radius: 16px; padding: 12px 12px 32px 12px; box-shadow: 0 4px 16px rgb(25 118 210 / .07) } .leave-register-bar { background: var(--surface-color); border-radius: 12px; padding: 12px 12px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; border: 1px solid #e3eafc; box-shadow: 0 2px 8px rgb(25 118 210 / .03); transition: background 0.3s, transform 0.15s, box-shadow 0.3s; min-width: 0; margin-bottom: 16px } .leave-register-bar:active { background: #d4e5f7; transform: scale(.98); box-shadow: 0 1px 3px rgb(25 118 210 / .05) } .leave-register-title { font-size: 15px; color: #222; font-weight: 600; display: flex; flex-direction: column; gap: 2px } .leave-register-hint { font-size: 13px; color: #666; font-weight: 400; margin-top: 2px } .leave-register-plus { color: #fff; background: var(--primary); border-radius: 50%; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; margin-left: 12px; box-shadow: 0 2px 8px rgb(25 118 210 / .11) } .two-buttons-row { display: flex; gap: 10px; margin-bottom: 18px } .action-btn { flex: 1; background: #f0f0f0; color: #333; border: none; border-radius: 8px; padding: 10px 0; font-size: 15px; font-weight: 500; cursor: pointer; transition: background 0.3s, transform 0.2s; display: flex; align-items: center; justify-content: center; gap: 8px } .action-btn:active { background: #d4e5f7; transform: scale(.98) } .leave-request-header { margin-top: 12px; font-size: 16px; color: var(--primary); font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; position: relative } .leave-request-header .filter-btn { position: absolute; right: 0; top: 50%; transform: translateY(-50%); margin: 0 } .leave-request-header .back-btn { position: absolute; left: 0; top: 50%; transform: translateY(-50%) } .header-title-center { margin: 0 auto; display: block; text-align: center; width: fit-content } .center-title { text-align: center; width: 100%; display: block } .filter-btn { background: #fff; border: 1px solid var(--primary); border-radius: 10px; padding: 8px 12px; font-size: 18px; color: var(--primary); display: flex; align-items: center; gap: 8px; cursor: pointer; position: relative; font-weight: 500; box-shadow: 0 2px 8px rgb(25 118 210 / .04); min-width: 0 } .funnel-dot { position: absolute; top: 6px; right: 8px; width: 10px; height: 10px; background: orange; border-radius: 50%; border: 2px solid #fff; display: none } .filter-btn.filtered .funnel-dot { display: block } .popup-filter-bg { position: fixed; left: 0; top: 0; width: 100vw; height: 100vh; background: rgb(0 0 0 / .18); z-index: 1001; display: none; align-items: flex-start; justify-content: center; overflow-y: auto } .popup-filter { background: #fff; border-radius: 14px; box-shadow: 0 8px 30px rgb(25 118 210 / .12); padding: 26px 18px 18px 18px; min-width: 260px; width: 90vw; max-width: 340px; display: flex; flex-direction: column; gap: 18px; animation: fadeIn 0.16s; margin-top: 36px; max-height: 92vh; overflow-y: auto } .popup-filter label { font-size: 14px; color: #444; font-weight: 600; margin-bottom: 10px; display: block } .popup-filter .tagging-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px } .popup-filter .tag { background: #fff; color: var(--primary); border: 1.5px solid var(--primary); border-radius: 6px; padding: 5px 13px 5px 13px; font-size: 14px; font-weight: 500; cursor: pointer; transition: background 0.3s, transform 0.1s; display: flex; align-items: center; gap: 6px; min-width: 0; width: auto } .popup-filter .tag.selected { background: var(--primary); color: #fff } .popup-filter .tag:active { transform: scale(.95) } .popup-filter .popup-filter-actions { display: flex; gap: 0; margin-top: 12px; justify-content: flex-end } .popup-filter .popup-filter-actions button { flex: 1 1 50%; min-width: 0; width: 50%; padding: 13px 0; font-size: 16px; border-radius: 0 0 0 14px; border: none; cursor: pointer; font-weight: 500; transition: background 0.3s, transform 0.12s } .popup-filter .popup-filter-actions .clear-btn { background: #f5f6fa; color: #e74c3c; border-radius: 0 0 0 14px } .popup-filter .popup-filter-actions .clear-btn:active { background: #fee4e2; transform: scale(.98) } .popup-filter .popup-filter-actions .apply-btn { background: var(--primary); color: #fff; border-radius: 0 0 14px 0 } .popup-filter .popup-filter-actions .apply-btn:active { background: #0d5ca7; transform: scale(.98) } .popup-filter .search-row input { width: 100%; padding: 8px 12px; border: 1px solid #ccc; border-radius: 6px; font-size: 15px } .popup-filter .search-suggest { background: #f8fbff; border: 1px solid #e3eafc; border-radius: 6px; margin-top: 2px; max-height: 120px; overflow-y: auto } .popup-filter .search-suggest div { padding: 7px 13px; cursor: pointer } .popup-filter .search-suggest div:hover { background: #e3eafc } .popup-filter .multi-selected-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; margin-bottom: 8px } .popup-filter .multi-chip { background: var(--primary); color: #fff; border-radius: 6px; padding: 4px 10px 4px 10px; font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 6px; margin-bottom: 2px } .popup-filter .multi-chip .remove-chip { cursor: pointer; color: #fff; font-size: 13px; margin-left: 4px; opacity: .7; transition: opacity 0.15s } .popup-filter .multi-chip .remove-chip:hover { opacity: 1 } .leave-request-list { margin-top: 18px } .leave-history-item { background: var(--surface-color); border-radius: 9px; padding: 18px 14px 12px 16px; margin-bottom: 14px; border-left: 3px solid var(--primary); box-shadow: 0 2px 6px rgb(25 118 210 / .04); position: relative; cursor: pointer; transition: background 0.3s, transform 0.15s; min-height: 54px; display: flex; flex-direction: column; justify-content: center } .leave-history-item:active { background: #d4e5f7; transform: scale(.98) } .leave-history-main { font-weight: 600; color: #222; font-size: 15px; margin-bottom: 2px } .leave-history-title { color: #666; font-size: 14px; margin-bottom: 2px } .ot-type-text { color: #444; font-size: 14px; margin-bottom: 2px; font-weight: 500 } .leave-history-shift { color: #444; font-size: 14px; margin-bottom: 8px } .tag-container { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 2px } .policy-tag { background: #f0f0f0; color: #666; padding: 3px 13px; border-radius: 12px; font-size: 13px; font-weight: 500; display: inline-block } .status-tag { background: #fefcbf; color: #b26a00; padding: 3px 13px; border-radius: 12px; font-size: 13px; font-weight: 500; display: inline-block } .status-tag.approved { background: #e6fffa; color: #2e7d32 } .status-tag.rejected { background: #fed7d7; color: #e53935 } .action-buttons { position: absolute; top: 10px; right: 10px; display: flex; gap: 8px; z-index: 2; flex-direction: row; align-items: center } .approve-btn, .reject-btn { min-width: 56px; max-width: 90px; background: var(--primary); color: #fff; border: none; border-radius: 7px; padding: 4px 4px 4px 4px; font-size: 13px; font-weight: 400; cursor: pointer; transition: background 0.2s, transform 0.1s; text-align: center; margin: 0 0 0 0; box-shadow: 0 2px 8px rgb(25 118 210 / .04); display: block } .approve-btn:active, .reject-btn:active { background: #0d5ca7; transform: scale(.97) } .no-data-msg { color: #888; text-align: center; padding: 20px; font-style: italic } .back-btn { background: #fff; border: 1px solid var(--primary); border-radius: 10px; padding: 8px 12px; font-size: 18px; color: var(--primary); display: flex; align-items: center; gap: 8px; cursor: pointer; position: absolute; left: 0; top: 50%; transform: translateY(-50%); font-weight: 500; box-shadow: 0 2px 8px rgb(25 118 210 / .04); transition: background 0.3s, transform 0.15s; min-width: 0; z-index: 2 } #confirmed-container { background: #f0f0f0 !important; min-height: 100vh; padding-bottom: 40px } #confirmed-container .leave-history-item { background: #fff !important; border-left: 3px solid var(--primary); box-shadow: 0 4px 24px rgb(25 118 210 / .13); color: #222 } .policy-tag-yellow { background: #fefcbf !important; color: #b26a00 !important; padding: 3px 13px; border-radius: 12px; font-size: 13px; font-weight: 500; display: inline-block }