/* DATATRIPS PMS unified visual system — presentation only. */
:root{--dt-blue:#071d4d;--dt-blue-dark:#112f66;--dt-accent:#a6ce28;--dt-text:#243b56;--dt-muted:#6e8097;--dt-border:#dfe7f1;--dt-bg:#f2f5fa}
body.dt-modern{font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;font-size:14px;line-height:1.55;color:var(--dt-text)}
.dt-modern .content-header h1{color:#071d4d;font-size:27px!important;line-height:1.25}
.dt-modern .table:not(.dt-calendar){border-collapse:separate;border-spacing:0;border:0;margin-bottom:0;font-size:13px}
.dt-modern .ew-table th{background:#f4f7fb!important;color:#61748e!important;border:0!important;border-bottom:1px solid #dce5f0!important;font-size:11px!important;font-weight:650!important;padding:11px 12px!important;letter-spacing:.03em}
.dt-modern .ew-table td{border:0!important;border-bottom:1px solid #e8edf5!important;padding:11px 12px!important;vertical-align:middle!important;line-height:1.5;font-size:13px}
.dt-modern .ew-table>tbody>tr:nth-child(odd)>td{background:#fff}.dt-modern .ew-table>tbody>tr:nth-child(even)>td{background:#fcfdff}.dt-modern .ew-table>tbody>tr:hover>td{background:#fafcf5}
.dt-modern .ew-table .btn{padding:6px 9px!important;min-height:32px;border-radius:6px!important;font-size:12px!important}.dt-modern .ew-table .dropdown-menu{font-size:13px;min-width:190px;border-color:#dce5f0;box-shadow:0 10px 28px #10294c16}.dt-modern .ew-table .dropdown-item{padding:8px 14px}
.dt-modern .ew-grid{overflow:visible;box-shadow:none}.dt-modern .ew-grid-middle-panel{overflow-x:auto!important;border-radius:8px}.dt-modern .ew-grid-upper-panel,.dt-modern .ew-grid-lower-panel{padding:12px 16px!important;color:#6c7d94;font-size:12px}.dt-modern .ew-grid-upper-panel .form-control,.dt-modern .ew-grid-lower-panel .form-control{min-height:34px!important;height:34px!important;font-size:12px}
.dt-modern .ew-add-div,.dt-modern .ew-edit-div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 26px;background:white;border:1px solid #dfe7f1;border-radius:12px;padding:24px;margin-bottom:20px}
.dt-modern .ew-add-div>.form-group.row,.dt-modern .ew-edit-div>.form-group.row{display:block!important;margin:0!important;min-width:0}.dt-modern .ew-add-div>.form-group.row>*,.dt-modern .ew-edit-div>.form-group.row>*{width:100%!important;max-width:100%!important;flex:none!important;padding-left:0!important;padding-right:0!important}
.dt-modern .ew-add-div .col-form-label,.dt-modern .ew-edit-div .col-form-label{text-align:left!important;font-size:12px!important;color:#526983;font-weight:600;padding:0 0 7px!important}.dt-modern .ew-add-div .form-control,.dt-modern .ew-edit-div .form-control{width:100%!important;max-width:100%!important;min-height:42px!important;font-size:14px;border-radius:7px}
.dt-modern .ew-add-div>.form-group:has(textarea),.dt-modern .ew-edit-div>.form-group:has(textarea),.dt-modern .ew-add-div>.form-group:has(.ew-file-upload),.dt-modern .ew-edit-div>.form-group:has(.ew-file-upload){grid-column:1/-1}
.dt-modern .ew-add-div>.tab-content,.dt-modern .ew-edit-div>.tab-content,.dt-modern .ew-add-div>.nav,.dt-modern .ew-edit-div>.nav{grid-column:1/-1}
.dt-modern .ew-add-div .input-group,.dt-modern .ew-edit-div .input-group{width:100%}.dt-modern .ew-add-div .select2-container,.dt-modern .ew-edit-div .select2-container{width:100%!important;max-width:100%}
.dt-modern .btn-primary,.dt-modern .btn-info{background:#071d4d!important;border-color:#071d4d!important;color:#fff!important}.dt-modern .btn-primary:hover,.dt-modern .btn-info:hover{background:#163568!important}.dt-modern .btn-danger{background:#b8384b!important;border-color:#b8384b!important}.dt-modern .btn-default,.dt-modern .btn-secondary{background:white!important;border-color:#d3deec!important;color:#304b70!important}
.dt-modern .form-control:focus{border-color:#6d83aa!important;box-shadow:0 0 0 3px #071d4d10!important}.dt-modern .text-danger,.dt-modern .invalid-feedback{color:#b33349}.dt-modern .alert-danger{background:#fff2f4!important;color:#9a2e43!important;border:1px solid #efd0d8!important}.dt-modern .alert-success{background:#f1f7e8!important;color:#4a6b27!important;border:1px solid #dce9c7!important}
.dt-frame .box{box-shadow:none!important;border:1px solid #dfe7f1!important;border-radius:12px!important}.dt-frame .box-header{padding:14px 18px!important}.dt-frame .box-title{font-size:15px!important;color:#153359!important}.dt-frame .box-body{padding:18px}.dt-frame form .form-control{height:42px;min-height:42px;font-size:14px}
.dt-frame .dt-unified-form{display:block!important;overflow:visible!important;width:100%!important;border:1px solid #dfe7f1!important;border-radius:10px;padding:18px!important;background:white;margin:0 0 18px!important}.dt-unified-form>tbody{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 20px}.dt-unified-form>tbody>tr{display:contents!important}.dt-unified-form>tbody>tr.dt-hidden-labels{display:none!important}.dt-unified-form td{display:block!important;padding:0!important;border:0!important;width:auto!important;min-width:0}.dt-unified-form .dt-form-title{grid-column:1/-1;text-align:left!important;background:transparent!important;border-bottom:1px solid #e5ebf3!important;padding:0 0 12px!important;color:#153359!important}.dt-unified-form label{display:block!important;font-size:12px!important;color:#526983!important;font-weight:600!important;margin:0 0 7px!important}.dt-unified-form .form-control{width:100%!important;max-width:none!important;border-radius:7px!important}.dt-unified-form input[type=hidden]{display:none!important}
@media(max-width:900px){.dt-unified-form>tbody{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.dt-modern .ew-add-div,.dt-modern .ew-edit-div{grid-template-columns:1fr;padding:16px;gap:18px}.dt-unified-form>tbody{grid-template-columns:1fr}.dt-modern .content-header h1{font-size:23px!important}}
@media print{.dt-modern .ew-add-div,.dt-modern .ew-edit-div{border:0;padding:0;display:block}.dt-modern .ew-table td{padding:5px!important}.dt-modern .ew-table th{background:white!important}}
.dt-modern form.ew-form{width:100%!important;max-width:100%!important;min-width:0!important}.dt-modern .ew-multi-page,.dt-modern .ew-nav-tabs,.dt-modern .tab-content,.dt-modern .tab-pane{max-width:100%!important;min-width:0!important}.dt-modern .ew-nav-tabs>.nav-tabs{flex-wrap:wrap}.dt-modern .ew-add-div .ew-lookup-list,.dt-modern .ew-edit-div .ew-lookup-list{max-width:100%!important}.dt-modern .ew-add-div .ew-lookup-list .form-control,.dt-modern .ew-edit-div .ew-lookup-list .form-control{width:100%!important}
