/* General utility classes */ .hidden { display: none !important; } /* Settlement Modal Styles */ .settlement-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); z-index: 1000; overflow-y: auto; } .settlement-modal.active { display: flex; align-items: center; justify-content: center; } .settlement-content { background: white; border-radius: 12px; width: 90%; max-width: 600px; max-height: 90vh; overflow: hidden; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3); display: flex; flex-direction: column; } .settlement-header { background: linear-gradient(135deg, #3498db 0%, #2980b9 100%); color: white; padding: clamp(10px, 2vh, 20px); border-radius: 12px 12px 0 0; display: flex; justify-content: space-between; align-items: center; flex-shrink: 0; } .settlement-header h2 { margin: 0; font-size: clamp(18px, 3vh, 24px); } .settlement-header .btn-close-modal { background: rgba(255, 255, 255, 0.2); border: none; color: white; font-size: clamp(18px, 3vh, 24px); width: clamp(28px, 4.5vh, 35px); height: clamp(28px, 4.5vh, 35px); border-radius: 50%; cursor: pointer; transition: all 0.3s; } .settlement-header .btn-close-modal:hover { background: rgba(255, 255, 255, 0.3); } .settlement-body { padding: clamp(12px, 2.5vh, 25px); overflow-y: auto; flex: 1; min-height: 0; } .settlement-summary { background: #f8f9fa; padding: clamp(6px, 1vh, 10px) clamp(10px, 1.2vw, 15px); border-radius: 8px; margin-bottom: clamp(8px, 1.5vh, 15px); } .summary-row { display: flex; justify-content: space-between; padding: clamp(2px, 0.5vh, 4px) 0; font-size: clamp(11px, 1.8vh, 13px); } .summary-row.total { border-top: 2px solid #3498db; margin-top: clamp(4px, 0.8vh, 6px); padding-top: clamp(4px, 1vh, 8px); font-weight: 700; font-size: clamp(13px, 2.2vh, 16px); color: #3498db; } .payment-methods { margin-bottom: clamp(12px, 2.5vh, 25px); } .payment-methods h3 { margin-bottom: clamp(8px, 1.5vh, 15px); font-size: clamp(14px, 2.5vh, 18px); color: #333; } .payment-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(6px, 1vh, 10px); } .payment-option { border: 2px solid #e0e0e0; padding: clamp(10px, 1.8vh, 16px) clamp(8px, 1.2vh, 12px); border-radius: 10px; cursor: pointer; transition: all 0.2s; text-align: center; background: #f8f9fa; font-size: clamp(13px, 2vh, 15px); font-weight: 600; color: #374151; letter-spacing: 0.2px; } .payment-option:hover { border-color: #3498db; background: #eef4fb; color: #2980b9; } .payment-option.selected { border-color: #3498db; background: linear-gradient(135deg, #3498db 0%, #2980b9 100%); color: white; } .payment-details { margin-bottom: clamp(10px, 2vh, 20px); } .payment-details.hidden { display: none; } .form-group { margin-bottom: clamp(8px, 1.5vh, 15px); position: relative; } .form-group label { display: block; margin-bottom: clamp(3px, 0.5vh, 5px); font-weight: 500; color: #333; font-size: clamp(12px, 1.8vh, 14px); } .form-group input, .form-group select { width: 100%; padding: clamp(8px, 1.5vh, 12px); border: 2px solid #e0e0e0; border-radius: 6px; font-size: clamp(13px, 2vh, 16px); transition: border-color 0.3s; } .form-group input:focus, .form-group select:focus { outline: none; border-color: #3498db; } .settlement-actions { display: flex; gap: clamp(6px, 1vh, 12px); margin-top: clamp(12px, 2.5vh, 25px); } .settlement-actions .btn-settle { flex: 1; padding: clamp(8px, 1.5vh, 15px); border: none; border-radius: 8px; font-size: clamp(12px, 1.8vh, 14px); font-weight: 600; cursor: pointer; transition: all 0.3s; } .btn-settle-confirm { background: linear-gradient(135deg, #51cf66 0%, #40c057 100%); color: white; } .btn-settle-confirm:hover { opacity: 0.9; transform: translateY(-2px); } .btn-settle-cancel { background: #e0e0e0; color: #666; } .btn-settle-cancel:hover { background: #d0d0d0; } @media (max-width: 768px) { .settlement-content { width: 95%; max-height: 95vh; } .payment-grid { grid-template-columns: 1fr; } .settlement-actions { flex-direction: column; } } /* Debtor Selection Modal Styles */ .debtor-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); z-index: 1001; overflow-y: auto; } .debtor-modal.active { display: flex; align-items: center; justify-content: center; } .debtor-content { background: white; border-radius: 12px; width: 90%; max-width: 700px; max-height: 90vh; overflow: hidden; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3); display: flex; flex-direction: column; } .debtor-header { background: linear-gradient(135deg, #3498db 0%, #2980b9 100%); color: white; padding: clamp(10px, 2vh, 20px); border-radius: 12px 12px 0 0; display: flex; justify-content: space-between; align-items: center; flex-shrink: 0; } .debtor-header h2 { margin: 0; font-size: clamp(18px, 3vh, 22px); } .debtor-body { padding: clamp(12px, 2.5vh, 25px); overflow-y: auto; flex: 1; min-height: 0; } .debtor-type-selection { margin-bottom: clamp(12px, 2.5vh, 25px); } .debtor-type-selection h3 { margin-bottom: clamp(8px, 1.5vh, 15px); font-size: clamp(14px, 2.5vh, 18px); color: #333; } .debtor-type-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(8px, 1.5vh, 15px); } .debtor-type-option { border: 2px solid #e0e0e0; padding: clamp(10px, 2vh, 18px) clamp(12px, 1.5vw, 20px); border-radius: 8px; cursor: pointer; transition: all 0.3s; text-align: center; background: white; display: flex; align-items: center; justify-content: center; } .debtor-type-option:hover { border-color: #3498db; background: #f8f9fa; } .debtor-type-option.selected { border-color: #3498db; background: linear-gradient(135deg, #3498db 0%, #2980b9 100%); color: white; } .debtor-type-option .label { font-size: clamp(14px, 2.2vh, 17px); font-weight: 600; letter-spacing: 0.3px; } #debtorListContainer h3 { margin-bottom: clamp(8px, 1.5vh, 15px); font-size: clamp(14px, 2.5vh, 18px); color: #333; } .debtor-search { margin-bottom: clamp(8px, 1.5vh, 15px); } .debtor-search input { width: 100%; padding: clamp(8px, 1.5vh, 12px) clamp(10px, 1.2vw, 15px); border: 2px solid #e0e0e0; border-radius: 8px; font-size: clamp(13px, 2vh, 15px); transition: border-color 0.3s; } .debtor-search input:focus { outline: none; border-color: #3498db; } .debtor-search input::placeholder { color: #999; } .debtor-list { max-height: clamp(200px, 40vh, 400px); overflow-y: auto; border: 1px solid #e0e0e0; border-radius: 8px; padding: clamp(6px, 1vh, 10px); } .debtor-item { border: 2px solid #e0e0e0; padding: clamp(8px, 1.5vh, 15px); margin-bottom: clamp(6px, 1vh, 10px); border-radius: 8px; cursor: pointer; transition: all 0.3s; background: white; } .debtor-item:hover { border-color: #3498db; background: #f8f9fa; } .debtor-item.selected { border-color: #51cf66; background: #e7f5ff; } .debtor-item.exceeds-limit { border-color: #ff6b6b; } .debtor-item.exceeds-limit:hover { background: #ffe0e0; } .debtor-info { width: 100%; } .debtor-name { font-size: clamp(13px, 2vh, 16px); font-weight: 600; color: #333; margin-bottom: clamp(3px, 0.5vh, 5px); } .debtor-details { font-size: clamp(12px, 1.8vh, 14px); color: #666; margin-bottom: clamp(3px, 0.5vh, 5px); } .debtor-balance { font-size: clamp(12px, 1.8vh, 14px); color: #3498db; font-weight: 500; } .credit-limit-warning { margin-top: 8px; padding: 8px; background: #fff3cd; border: 1px solid #ffc107; border-radius: 4px; color: #856404; font-size: 13px; font-weight: 500; } .no-debtors { text-align: center; padding: clamp(20px, 5vh, 40px); color: #999; font-size: clamp(13px, 2vh, 16px); } @media (max-width: 768px) { .debtor-content { width: 95%; max-height: 95vh; } .debtor-type-grid { grid-template-columns: 1fr; } .debtor-list { max-height: 300px; } } /* Electronic Payment Modal Styles */ .electronic-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); z-index: 1001; overflow-y: auto; } .electronic-modal.active { display: flex; align-items: center; justify-content: center; } .electronic-content { background: white; border-radius: 12px; width: 90%; max-width: 650px; max-height: 90vh; overflow: hidden; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3); display: flex; flex-direction: column; } .electronic-header { background: linear-gradient(135deg, #3498db 0%, #2980b9 100%); color: white; padding: clamp(10px, 2vh, 20px); border-radius: 12px 12px 0 0; display: flex; justify-content: space-between; align-items: center; flex-shrink: 0; } .electronic-header h2 { margin: 0; font-size: clamp(18px, 3vh, 22px); } .electronic-body { padding: clamp(12px, 2.5vh, 25px); overflow-y: auto; flex: 1; min-height: 0; } .payment-summary { background: #f8f9fa; padding: clamp(8px, 1.5vh, 15px) clamp(12px, 1.5vw, 20px); border-radius: 8px; margin-bottom: clamp(12px, 2.5vh, 25px); } .summary-item { display: flex; justify-content: space-between; padding: clamp(4px, 0.8vh, 8px) 0; font-size: clamp(13px, 2vh, 16px); } .summary-item.pending { border-top: 2px solid #3498db; margin-top: 8px; padding-top: 12px; font-weight: 700; } .summary-label { color: #666; } .summary-value { font-weight: 600; color: #333; font-size: clamp(14px, 2.5vh, 18px); } .payment-split-section { margin-bottom: clamp(12px, 2.5vh, 25px); padding: clamp(8px, 1.5vh, 15px); border: 2px solid #e0e0e0; border-radius: 8px; background: #fafafa; } .payment-split-section h3 { margin: 0 0 clamp(8px, 1.5vh, 15px) 0; font-size: clamp(14px, 2.5vh, 18px); color: #333; } .payment-split-section .form-group { margin-bottom: 12px; } .payment-split-section .form-group:last-child { margin-bottom: 0; } .payment-split-section select { width: 100%; padding: clamp(6px, 1.2vh, 10px) clamp(8px, 1vw, 12px); border: 2px solid #e0e0e0; border-radius: 6px; font-size: clamp(13px, 2vh, 15px); background: white; cursor: pointer; transition: border-color 0.3s; } .payment-split-section select:focus { outline: none; border-color: #3498db; } .electronic-actions { display: flex; gap: clamp(6px, 1vh, 12px); margin-top: clamp(12px, 2.5vh, 25px); } .btn-electronic { flex: 1; padding: clamp(8px, 1.5vh, 15px); border: none; border-radius: 8px; font-size: clamp(13px, 2vh, 16px); font-weight: 600; cursor: pointer; transition: all 0.3s; } .btn-electronic-confirm { background: linear-gradient(135deg, #51cf66 0%, #40c057 100%); color: white; } .btn-electronic-confirm:hover { opacity: 0.9; transform: translateY(-2px); } .btn-electronic-cancel { background: #e0e0e0; color: #666; } .btn-electronic-cancel:hover { background: #d0d0d0; } @media (max-width: 768px) { .electronic-content { width: 95%; max-height: 95vh; } .electronic-actions { flex-direction: column; } .payment-split-section h3 { font-size: 16px; } } /* Customer Details Section */ .customer-details { padding: clamp(8px, 1.5vh, 15px) clamp(12px, 1.5vw, 20px); background: #f8f9fa; border-bottom: 1px solid #e9ecef; } .customer-details .form-group { margin-bottom: 10px; } /* Room Info Display */ .room-info { margin-top: 10px; padding: 12px; background: #e7f5ff; border-left: 4px solid #228be6; border-radius: 4px; } .room-info.hidden { display: none; } .room-info p { margin: 5px 0; font-size: 14px; color: #495057; } .room-info strong { color: #228be6; } /* Room Search Input */ #roomSearch { width: 100%; padding: 10px; border: 1px solid #ced4da; border-radius: 6px; font-size: 14px; background: white; } /* Room Dropdown List */ .room-dropdown { position: absolute; width: calc(100% - 40px); max-height: 300px; overflow-y: auto; background: white; border: 1px solid #ced4da; border-top: none; border-radius: 0 0 6px 6px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); z-index: 1000; margin-top: -1px; } .room-dropdown.hidden { display: none; } /* Room dropdown header */ .room-dropdown-header { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; padding: 10px 12px; background: #f8f9fa; border-bottom: 2px solid #dee2e6; font-weight: 600; font-size: 13px; color: #495057; position: sticky; top: 0; z-index: 10; } .room-dropdown-item { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; padding: 12px; cursor: pointer; border-bottom: 1px solid #e9ecef; transition: background-color 0.2s; align-items: center; } .room-dropdown-item:hover { background: #f8f9fa; } .room-dropdown-item:last-child { border-bottom: none; } .room-dropdown-item .room-number { font-weight: 500; color: #228be6; font-size: 14px; } .room-dropdown-item .guest-name { color: #495057; font-size: 14px; } .no-rooms-found { padding: 12px; text-align: center; color: #868e96; font-style: italic; } /* Event Search Input */ #eventSearch { width: 100%; padding: 10px; border: 1px solid #ced4da; border-radius: 6px; font-size: 14px; background: white; } /* Event Dropdown List */ .event-dropdown { position: absolute; width: calc(100% - 40px); max-height: 300px; overflow-y: auto; background: white; border: 1px solid #ced4da; border-top: none; border-radius: 0 0 6px 6px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); z-index: 1000; margin-top: -1px; } .event-dropdown.hidden { display: none; } /* Event dropdown header */ .event-dropdown-header { display: grid; grid-template-columns: 2fr 2fr 1fr; gap: 10px; padding: 10px 12px; background: #f8f9fa; border-bottom: 2px solid #dee2e6; font-weight: 600; font-size: 13px; color: #495057; position: sticky; top: 0; z-index: 10; } .event-dropdown-header span:last-child { text-align: center; } .event-dropdown-item { display: grid; grid-template-columns: 2fr 2fr 1fr; gap: 10px; padding: 12px; cursor: pointer; border-bottom: 1px solid #e9ecef; transition: background-color 0.2s; align-items: center; } .event-dropdown-item:hover { background: #f8f9fa; } .event-dropdown-item:last-child { border-bottom: none; } .event-dropdown-item .event-name { font-weight: 500; color: #228be6; font-size: 14px; } .event-dropdown-item .event-org { color: #495057; font-size: 14px; } .event-dropdown-item .event-pax { color: #495057; font-size: 14px; text-align: center; } /* Event Info Display */ .event-info { margin-top: 10px; padding: 12px; background: #e7f5ff; border-left: 4px solid #228be6; border-radius: 4px; } .event-info.hidden { display: none; } .event-info p { margin: 5px 0; font-size: 14px; color: #495057; } .event-info strong { color: #228be6; } /* Meal Plan Room Dropdown Styles */ .mealplan-room-dropdown { position: absolute; top: 100%; left: 0; right: 0; max-height: 300px; overflow-y: auto; background: white; border: 1px solid #dee2e6; border-radius: 4px; margin-top: 5px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); z-index: 1000; } .mealplan-room-dropdown.hidden { display: none; } /* Meal Plan Room dropdown header */ .mealplan-room-dropdown-header { display: grid; grid-template-columns: 1fr 2fr 1fr 2fr; gap: 10px; padding: 10px 12px; background: #f8f9fa; border-bottom: 2px solid #dee2e6; font-weight: 600; font-size: 13px; color: #495057; position: sticky; top: 0; z-index: 10; } .mealplan-room-dropdown-item { display: grid; grid-template-columns: 1fr 2fr 1fr 2fr; gap: 10px; padding: 12px; cursor: pointer; border-bottom: 1px solid #e9ecef; transition: background-color 0.2s; align-items: center; } .mealplan-room-dropdown-item:hover { background-color: #f8f9fa; } .mealplan-room-dropdown-item:last-child { border-bottom: none; } .mealplan-room-dropdown-item .room-number { font-weight: 500; color: #228be6; font-size: 14px; } .mealplan-room-dropdown-item .guest-name { color: #495057; font-size: 14px; } .mealplan-room-dropdown-item .room-pax { color: #495057; font-size: 14px; text-align: center; } .mealplan-room-dropdown-item .meal-plan { color: #495057; font-size: 14px; } /* Meal Plan Room Info Display */ .mealplan-room-info { margin-top: 10px; padding: 12px; background: #e7f5ff; border-left: 4px solid #228be6; border-radius: 4px; } .mealplan-room-info.hidden { display: none; } .mealplan-room-info p { margin: 5px 0; font-size: 14px; color: #495057; } .mealplan-room-info strong { color: #228be6; } /* Customer Search Dropdown Styles */ .customer-search-wrapper { position: relative; display: flex; gap: 8px; } .customer-search-wrapper input[type="text"] { flex: 1; padding: 10px; border: 1px solid #ced4da; border-radius: 6px; font-size: 14px; } .customer-search-wrapper input[type="text"]:focus { outline: none; border-color: #3498db; box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25); } .btn-add-client { width: 40px; height: 40px; background: linear-gradient(135deg, #28a745 0%, #20c997 100%); color: white; border: none; border-radius: 6px; font-size: 20px; font-weight: bold; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; justify-content: center; } .btn-add-client:hover { transform: scale(1.05); box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3); } .customer-dropdown { position: absolute; top: 100%; left: 0; right: 48px; max-height: 300px; overflow-y: auto; background: white; border: 1px solid #ced4da; border-top: none; border-radius: 0 0 6px 6px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); z-index: 1000; margin-top: -1px; } .customer-dropdown-empty { padding: 15px; text-align: center; color: #868e96; font-style: italic; font-size: 13px; } .customer-dropdown.hidden { display: none; } .customer-dropdown-item { padding: 12px; cursor: pointer; border-bottom: 1px solid #e9ecef; transition: background-color 0.2s; } .customer-dropdown-item:hover { background: #f8f9fa; } .customer-dropdown-item:last-child { border-bottom: none; } .customer-dropdown-item .client-name { font-weight: 500; color: #333; font-size: 14px; } .customer-dropdown-item .client-details { font-size: 12px; color: #666; margin-top: 4px; } .customer-dropdown-item .client-tin { display: inline-block; background: #e3f2fd; color: #1976d2; padding: 2px 6px; border-radius: 3px; font-size: 11px; margin-left: 8px; } /* Client edit / delete actions inside the customer dropdown */ .customer-dropdown-item { display: flex; align-items: stretch; padding: 0; } .customer-dropdown-item-main { flex: 1 1 auto; padding: 12px; cursor: pointer; min-width: 0; } .customer-dropdown-item-actions { display: flex; align-items: center; gap: 4px; padding: 0 8px; flex-shrink: 0; } .client-action-btn { background: transparent; border: 1px solid #ccc; border-radius: 4px; cursor: pointer; font-size: 14px; line-height: 1; padding: 6px 8px; transition: background-color 0.15s, border-color 0.15s; } .client-edit-btn:hover { background: #e3f2fd; border-color: #1976d2; } .client-delete-btn:hover { background: #fdecea; border-color: #d32f2f; } /* "View deleted clients" link under the customer search */ .deleted-clients-link { display: inline-block; margin-top: 6px; font-size: 12px; color: #d32f2f; text-decoration: none; cursor: pointer; } .deleted-clients-link:hover { text-decoration: underline; } /* Deleted clients modal table */ .deleted-clients-table { width: 100%; border-collapse: collapse; font-size: 13px; } .deleted-clients-table th, .deleted-clients-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #e9ecef; } .deleted-clients-table th { background: #555; color: #fff; font-weight: 600; } .deleted-clients-table tbody tr:hover { background: #f8f9fa; } .deleted-clients-empty { padding: 16px; text-align: center; color: #888; font-style: italic; font-size: 13px; } .deleted-clients-search { width: 100%; box-sizing: border-box; padding: 8px 10px; margin-bottom: 12px; border: 1px solid #ccc; border-radius: 6px; font-size: 13px; } .deleted-clients-search:focus { outline: none; border-color: #3498db; } .btn-restore-client { background: #2e7d32; color: #fff; border: none; border-radius: 4px; cursor: pointer; font-size: 12px; padding: 6px 12px; transition: background-color 0.15s; } .btn-restore-client:hover { background: #1b5e20; } .no-clients-found { padding: 12px; text-align: center; color: #868e96; font-style: italic; } .selected-client-info { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding: 8px 12px; background: #e8f5e9; border: 1px solid #c8e6c9; border-radius: 6px; font-size: 13px; color: #2e7d32; } .selected-client-info.hidden { display: none; } .selected-client-info .client-tin-badge { display: inline-block; background: #1976d2; color: white; padding: 2px 8px; border-radius: 3px; font-size: 11px; margin-left: 8px; } .btn-clear-client { background: none; border: none; color: #c62828; font-size: 18px; cursor: pointer; padding: 0 4px; line-height: 1; } .btn-clear-client:hover { color: #b71c1c; } /* New Client Modal Styles */ .new-client-modal { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.7); z-index: 2000; align-items: center; justify-content: center; padding: 20px; } /* When displayed via JS (display: flex) */ .new-client-modal[style*="display: flex"] { display: flex !important; } .new-client-modal .modal-content { background: white; border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); max-height: 90vh; overflow: hidden; animation: modalSlideIn 0.3s ease; display: flex; flex-direction: column; } .new-client-modal .modal-header { background: linear-gradient(135deg, #3498db 0%, #2980b9 100%); color: white; padding: clamp(10px, 2vh, 20px); display: flex; justify-content: space-between; align-items: center; flex-shrink: 0; } .new-client-modal .modal-header h2 { margin: 0; font-size: clamp(16px, 2.5vh, 20px); font-weight: 600; } .new-client-modal .modal-body { padding: clamp(10px, 2vh, 20px); max-height: 65vh; overflow-y: auto; flex: 1; min-height: 0; } .new-client-modal .modal-footer { padding: clamp(8px, 1.5vh, 15px) clamp(10px, 1.5vw, 20px); background: #f8f9fa; border-top: 1px solid #e9ecef; display: flex; gap: clamp(6px, 1vh, 10px); justify-content: flex-end; flex-shrink: 0; } /* Form groups inside new client modal */ .new-client-modal .form-group { margin-bottom: 15px; } .new-client-modal .form-group label { display: block; font-weight: 500; margin-bottom: 6px; color: #333; font-size: 13px; } .new-client-modal .form-group input, .new-client-modal .form-group .form-control { width: 100%; padding: 10px 12px; border: 1px solid #ced4da; border-radius: 6px; font-size: 14px; box-sizing: border-box; } .new-client-modal .form-group input:focus, .new-client-modal .form-group .form-control:focus { outline: none; border-color: #3498db; box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25); } .tin-lookup-wrapper { display: flex; gap: 8px; } .tin-lookup-wrapper input { flex: 1; } .btn-tin-lookup { padding: 10px 15px; background: linear-gradient(135deg, #1976d2 0%, #42a5f5 100%); color: white; border: none; border-radius: 6px; font-size: 13px; cursor: pointer; white-space: nowrap; transition: all 0.2s; display: flex; align-items: center; gap: 5px; } .btn-tin-lookup:hover { transform: scale(1.02); box-shadow: 0 2px 8px rgba(25, 118, 210, 0.3); } .btn-tin-lookup:disabled { opacity: 0.6; cursor: not-allowed; transform: none; } .tin-lookup-result { margin-top: 10px; font-size: 13px; } .tin-lookup-result .tin-success { background: #e8f5e9; border: 1px solid #c8e6c9; color: #2e7d32; padding: 12px; border-radius: 6px; } .tin-lookup-result .tin-error { background: #ffebee; border: 1px solid #ffcdd2; color: #c62828; padding: 12px; border-radius: 6px; } .tin-lookup-result .tin-loading { background: #e3f2fd; border: 1px solid #bbdefb; color: #1976d2; padding: 12px; border-radius: 6px; text-align: center; } .tin-lookup-result.hidden { display: none; } .efris-indicator { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; background: #e3f2fd; color: #1976d2; border-radius: 4px; font-size: 12px; margin-left: 10px; } .efris-indicator.active { background: #e8f5e9; color: #2e7d32; } /* House Use Searchable Dropdown Styles */ .btn-add-new { padding: 5px 12px; background-color: #28a745; color: white; border: none; border-radius: 4px; cursor: pointer; font-size: 13px; transition: background-color 0.2s; } .btn-add-new:hover { background-color: #218838; } .searchable-dropdown-container { position: relative; } .searchable-dropdown-container input[type="text"] { width: 100%; padding: 10px; border: 1px solid #ced4da; border-radius: 4px; font-size: 14px; } .searchable-dropdown-container input[type="text"]:focus { outline: none; border-color: #3498db; box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25); } .dropdown-list { display: none; position: absolute; top: 100%; left: 0; right: 0; background: white; border: 1px solid #ced4da; border-top: none; border-radius: 0 0 4px 4px; max-height: 300px; overflow-y: auto; z-index: 1000; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); } .dropdown-table { width: 100%; border-collapse: collapse; } .dropdown-table thead { background-color: #f8f9fa; position: sticky; top: 0; } .dropdown-table th { padding: 10px; text-align: left; font-weight: 600; font-size: 13px; color: #495057; border-bottom: 2px solid #dee2e6; } .dropdown-item-row { cursor: pointer; transition: background-color 0.2s; } .dropdown-item-row:hover { background-color: #f1f3f5; } .dropdown-item-row td { padding: 10px; border-bottom: 1px solid #e9ecef; font-size: 14px; color: #495057; } /* House Use Management Modal Styles */ #houseUseManagementModal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); z-index: 1001; justify-content: center; align-items: center; } #houseUseManagementModal .modal-content { background: white; border-radius: 12px; max-height: 90vh; overflow: hidden; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3); display: flex; flex-direction: column; } #houseUseManagementModal .modal-header { background: linear-gradient(135deg, #3498db 0%, #2980b9 100%); color: white; padding: clamp(10px, 2vh, 20px); border-radius: 12px 12px 0 0; display: flex; justify-content: space-between; align-items: center; flex-shrink: 0; } #houseUseManagementModal .modal-header h2 { margin: 0; font-size: clamp(18px, 3vh, 24px); } #houseUseManagementModal .modal-body { padding: clamp(10px, 2vh, 20px); overflow-y: auto; flex: 1; min-height: 0; } #houseUseManagementModal .modal-footer { padding: clamp(8px, 1.5vh, 15px) clamp(10px, 1.5vw, 20px); border-top: 1px solid #e9ecef; display: flex; justify-content: flex-end; flex-shrink: 0; } /* House Use Toolbar */ .house-use-toolbar { margin-bottom: 15px; padding: 10px; background-color: #f8f9fa; border-radius: 4px; display: flex; gap: 8px; } .btn-toolbar { padding: 8px 15px; border: none; border-radius: 4px; cursor: pointer; font-size: 14px; font-weight: 500; transition: all 0.2s; } .btn-new { background-color: #28a745; color: white; } .btn-new:hover { background-color: #218838; } .btn-save { background-color: #007bff; color: white; } .btn-save:hover { background-color: #0056b3; } .btn-delete { background-color: #dc3545; color: white; } .btn-delete:hover { background-color: #c82333; } /* House Use Table */ .house-use-table-container { border: 1px solid #dee2e6; border-radius: 4px; overflow: visible; } .house-use-table { width: 100%; border-collapse: collapse; } .house-use-table thead { background-color: #f8f9fa; } .house-use-table th { padding: 12px; text-align: left; font-weight: 600; font-size: 14px; color: #495057; border-bottom: 2px solid #dee2e6; } .house-use-table tbody tr { transition: background-color 0.2s; } .house-use-table tbody tr:hover { background-color: #f8f9fa; } .house-use-table td { padding: 10px 12px; border-bottom: 1px solid #e9ecef; } .house-use-table input[type="checkbox"] { cursor: pointer; } .house-use-input { width: 100%; padding: 8px; border: 1px solid #ced4da; border-radius: 4px; font-size: 14px; } .house-use-input:focus { outline: none; border-color: #3498db; box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25); } .house-use-select { width: 100%; padding: 8px; border: 1px solid #ced4da; border-radius: 4px; font-size: 14px; background-color: white; } .house-use-select:focus { outline: none; border-color: #3498db; box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25); } /* Searchable Ledger Dropdown in Table */ .ledger-search-container { position: relative; } .ledger-dropdown-list { position: absolute; top: 100%; left: 0; right: 0; background: white; border: 1px solid #ced4da; border-top: none; border-radius: 0 0 4px 4px; max-height: 200px; overflow-y: auto; z-index: 1000; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); } .ledger-dropdown-item { padding: 10px; cursor: pointer; font-size: 14px; color: #495057; border-bottom: 1px solid #e9ecef; transition: background-color 0.2s; } .ledger-dropdown-item:hover { background-color: #f1f3f5; } .ledger-dropdown-item:last-child { border-bottom: none; } /* Remove spinner/scroll arrows from number inputs in electronic payment modal */ #cardAmount::-webkit-outer-spin-button, #cardAmount::-webkit-inner-spin-button, #mobileAmount::-webkit-outer-spin-button, #mobileAmount::-webkit-inner-spin-button, #mobileAmount2::-webkit-outer-spin-button, #mobileAmount2::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; } #cardAmount, #mobileAmount, #mobileAmount2 { -moz-appearance: textfield; /* Firefox */ }