.revenue-modalOverlay{position:fixed;inset:0;width:100vw;height:100vh;background:rgba(0,0,0,.4);display:flex;justify-content:center;align-items:center;z-index:1050;overflow:auto}.revenue-modalOverlay::-webkit-scrollbar{display:none}.addRevenueModal{width:100%;max-width:700px}.addRevenueModal,.revenueBusSelectorModal{background:#fff;border-radius:12px;box-shadow:0 2px 16px rgba(0,0,0,.12);min-width:320px;max-height:90vh;display:flex;flex-direction:column;position:relative;padding:0;font-family:var(--font-sans,"Segoe UI",Arial,sans-serif);color:var(--primary-text-color,#222);overflow:hidden}.revenueBusSelectorModal{width:95%;max-width:600px}.revenue-modalHeader{display:flex;align-items:center;justify-content:space-between;padding:1.5rem 2rem 1rem;border-bottom:1px solid #eee;background:#fff}.revenue-modalHeader h2{font-size:1.4rem;font-weight:700;margin:0;color:var(--primary-text-color,#222)}.revenue-closeButton{background:none;border:none;font-size:1.5rem;cursor:pointer;color:#888;transition:color .2s;margin-left:1rem}.revenue-closeButton:hover{color:#222}.revenue-modalBody{width:100%;padding:1.5rem 2rem;background:#fafbfc;overflow-y:auto;flex:1 1 auto}.revenue-modalBody input[type=text],.revenue-modalBody select{padding:.5rem .75rem;border:1px solid #ddd;border-radius:4px;font-size:1rem;background:#fff;color:#222;outline:none;margin-bottom:0}.revenue-modalBody table{width:100%;border-collapse:collapse;background:#fff;font-size:1rem}.revenue-modalBody td,.revenue-modalBody th{padding:8px 10px;border-bottom:1px solid #eee;text-align:left}.revenue-modalBody th{background:#f4f4f4;color:#222;font-weight:600}.revenue-modalBody tr{transition:background .15s;cursor:pointer}.revenue-modalBody tr:hover{background:#f0f8ff}.revenue-modalBody td{color:#333}.revenue-modalBody tr:last-child td{border-bottom:none}.revenue-modalFooter{width:100%;padding:1.25rem 2rem;border-top:1px solid #eee;background:#fff;display:flex;justify-content:flex-end;gap:1rem}.revenue-modalFooter button{min-width:110px;height:40px;font-size:1rem;border-radius:6px;border:none;outline:none;cursor:pointer;font-weight:600;transition:background .15s,color .15s;display:flex;align-items:center;justify-content:center;gap:.5rem}.revenue-btn-secondary{background:#f8f9fa;color:#333;border:1px solid #ddd}.revenue-btn-secondary:hover{background:#e2e6ea}@media (max-width:800px){.addRevenueModal{max-width:98vw;width:98vw;min-width:0}}@media (max-width:600px){.revenue-modalContent{width:99%;min-width:0}.revenue-modalBody,.revenue-modalFooter,.revenue-modalHeader{padding:1rem}.revenue-modalBody td,.revenue-modalBody th{padding:6px 4px;font-size:.95rem}}.modalOverlay{position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;background:rgba(0,0,0,.4)!important;display:flex!important;justify-content:center!important;align-items:center!important;z-index:1050!important;overflow:auto!important;scrollbar-width:none!important;-ms-overflow-style:none!important}.modalOverlay::-webkit-scrollbar{display:none!important}.editRevenueModal{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;background:var(--foreground-color)!important;padding:var(--modal-padding)!important;border-radius:var(--modal-border-radius)!important;width:80%!important;max-width:1000px!important;max-height:80vh!important;overflow:hidden!important;box-shadow:var(--box-shadow)!important;position:relative!important;font-family:var(--font-sans)!important;color:var(--primary-text-color)!important}.editRevenue_modalContent{width:var(--modal-content-width)!important;max-width:100%!important;height:var(--modal-content-height)!important;background-color:var(--modal-content-background-color)!important;padding:var(--modal-content-padding)!important;border-radius:var(--modal-content-border-radius)!important;box-shadow:none!important;overflow-y:auto!important}.editRevenueModal form{width:100%!important;overflow-y:auto!important;max-height:calc(80vh - 100px)!important;scrollbar-width:thin!important}.editRevenueModal form::-webkit-scrollbar{width:6px!important}.editRevenueModal form::-webkit-scrollbar-thumb{background:var(--border-color)!important;border-radius:6px!important}.modalHeader{display:flex!important;align-items:center!important;justify-content:space-between!important;width:100%!important;margin-bottom:var(--modal-header-margin-bottom)!important;padding-bottom:10px!important;border-bottom:1px solid var(--border-color)!important}.modalHeader h1{font-size:var(--title-font-size)!important;font-weight:var(--title-font-weight)!important;color:var(--primary-text-color)!important;margin:0!important}.timeDate{display:flex!important;gap:1rem!important;font-size:var(--modal-timedate-font-size)!important;font-style:italic!important;color:var(--secondary-text-color)!important;margin-top:10px!important}.currDate,.currTime{margin:0!important;align-self:flex-end!important}.modalContent{width:var(--modal-content-width)!important;max-width:100%!important;height:var(--modal-content-height)!important;background-color:var(--modal-content-background-color)!important;padding:var(--modal-content-padding)!important;border-radius:var(--modal-content-border-radius)!important;box-shadow:none!important;overflow-y:auto!important}.formRow{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between;align-items:center;align-content:center;gap:1rem!important}.formInputs{display:flex;flex-direction:column!important;flex:1 1 auto!important;gap:var(--modal-content-row-gap)!important}.formField{display:flex!important;flex-direction:column!important;flex:1;margin:none;width:50%;max-width:50%;background-color:none}.formField label{font-size:var(--input-label-font-size)!important;font-weight:var(--input-label-font-weight)!important;margin-bottom:.25rem!important}.formField input,.formField select,.formInput,.formSelect{width:100%!important;padding:.5rem .75rem!important;border:none!important;outline:none!important;border-radius:4px!important;font-family:var(--font-sans)!important;background-color:var(--modal-input-select-background-color);box-shadow:var(--box-shadow)!important}.originalRevenueSection{width:100%;margin:1rem 0}.originalRevenueBox{background:white!important;border:1px solid var(--border-color);border-radius:4px;padding:1rem;display:flex;flex-direction:column;gap:.5rem;box-shadow:var(--box-shadow)}.originalRevenueLabel{font-size:.9rem;color:var(--secondary-text-color);font-weight:500}.originalRevenueAmount{font-size:1.1rem;font-weight:700;color:var(--primary-text-color)}.amountInputGroup{position:relative}.tripRevenueReference{margin-top:.5rem;font-size:.9rem;color:var(--secondary-text-color);padding:.5rem;background:var(--modal-content-background-color);border-radius:4px;border:1px solid var(--border-color)}.deviationWarning{color:var(--error-color);font-weight:700;margin-top:.25rem}.modalButtons{width:100%!important;margin-top:1.25rem!important;display:flex!important;justify-content:flex-end!important;gap:var(--modal-button-gap)!important}.modalButtons button{width:var(--modal-button-width)!important;height:var(--modal-button-height)!important;font-size:var(--modal-button-font-size)!important;border-radius:var(--modal-button-border-radius)!important;border:none!important;outline:none!important;cursor:pointer!important;color:var(--button-font-color)!important;box-shadow:var(--box-shadow)!important;transition:transform .15s ease,background .15s ease!important;display:flex!important;justify-content:center!important;align-items:center!important}.saveButton{background:var(--primary-color)!important}.saveButton:hover{background:var(--primary-hover-color)!important}.cancelButton{background:var(--secondary-color)!important}.cancelButton:hover{background-color:var(--secondary-hover-color)!important}.closeButton{top:1rem}.buttonRow,.row{width:100%!important;display:flex!important;justify-content:space-between!important;align-items:center!important}.input-error{border-color:#ff4d4f!important;background-color:#fff6f6}.error-message{color:#ff4d4f;font-size:.8rem;margin-top:4px}.modalOverlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.5);display:flex;justify-content:center;align-items:center;z-index:1000}.viewRevenueModal{background:white;padding:2rem;border-radius:8px;width:50%;max-width:600px;min-width:400px;max-height:80vh;overflow-y:auto;box-shadow:0 2px 10px rgba(0,0,0,.1);position:relative;box-sizing:border-box}.modalHeader{display:block;margin-bottom:2rem;padding-bottom:1rem;border-bottom:1px solid #eee;position:relative}.modalHeader h2{font-size:var(--title-font-size);font-weight:var(--title-font-weight);margin:0;color:#333;flex:1}.closeButton{position:absolute;top:.25rem;right:1rem;background:none;border:none;font-size:1.5rem;cursor:pointer;color:var(--secondary-text-color);z-index:1;margin:0}.closeButton:hover{color:var(--primary-text-color)}.mainDetails{margin-bottom:2rem}.assignmentDetails,.otherSourceDetails{margin-bottom:2rem;padding:1rem;background-color:#f8f9fa;border-radius:8px;border:1px solid #eee}.assignmentDetails h3,.otherSourceDetails h3{color:#333;margin-bottom:1rem;padding-bottom:.5rem;border-bottom:1px solid #eee}.detailRow{display:flex;margin-bottom:.5rem;word-break:break-word}.label{font-weight:500;color:#666;width:150px;flex-shrink:0;margin-right:1rem}.value{color:#333;flex:1}.modalFooter{margin-top:2rem;padding-top:1rem;border-top:1px solid #eee;display:flex;justify-content:flex-end}.closeBtn{padding:.5rem 1.5rem;background-color:#f8f9fa;border:1px solid #ddd;border-radius:4px;cursor:pointer;color:#666;font-weight:500}.closeBtn:hover{background-color:#e9ecef;color:#4b4b4b}@media (max-width:768px){.viewRevenueModal{width:90%;min-width:0;margin:1rem;padding:1rem}.modalHeader{flex-direction:column;align-items:flex-start;gap:1rem}.closeButton{position:absolute;top:.5rem;right:.5rem;margin:0}.detailRow{flex-direction:column;gap:.25rem}.label{width:auto;margin-right:0}}