/* Order Summary Block */ 
strong.total.delivery-details {font-weight: 700;font-size: 22px;line-height: 140%;color: #0F4C69;margin-bottom: 15px;text-transform: uppercase;white-space: nowrap;}
strong.dynamic-service-row span {text-align: start;}
.dynamic-service-row span:last-child {font-weight: 700 !important;color: #0F4C69;}
.order-summary .dynamic-service-row span {font-size: 13px;line-height: 15px;font-weight: 600 !important;}
.dynamic-service-row{gap: 3px;}
@keyframes doubleBounce {
  0%, 20%, 50%, 80%, 100% {transform: translateY(0) rotate(var(--rotation, 0deg));}
  40% {transform: translateY(4px) rotate(var(--rotation, 0deg));} 
  60% {transform: translateY(2px) rotate(var(--rotation, 0deg));} 
}
.arrow {display: inline-block;animation: doubleBounce 2s infinite;}
/* Order Summary Block */


/* Calendar css*/
.mod-cal { width: 100%; max-width: 280px; background: #fff; padding: 15px; border-radius: 12px; font-family:   -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1); transform: scale(0.88); transform-origin: left center;}
.cal-nav {display: flex;justify-content: space-between;align-items: center;margin-bottom: 15px;}
.cal-label {font-weight: 700;font-size: 14px;color: #1f2937;}
.cal-nav button { border: none; background: #0f4c69; color: white; border-radius: 6px; width: 28px; height: 28px; cursor: pointer; transition: background 0.2s; display: flex; align-items: center; justify-content: center;}
.cal-nav button:hover {background: #0f4c69;}
.cal-nav button:disabled {background-color: #f3f4f6; color: #0f4c69;}
.cal-grid {display: grid;grid-template-columns: repeat(7, 1fr);gap: 1px;}
.dow {text-align: center;font-size: 11px;font-weight: 600;color: #9ca3af;padding-bottom: 8px;}
.day {aspect-ratio: 1;display: flex;align-items: center;justify-content: center;font-size: 12px;color: #374151;cursor: default;position: relative;}
.day.oom {color: #d1d5db;opacity: 0.4;pointer-events: none;}
.day.in-range {background-color: #eff6ff;color: #0f4c69;}
.day.range-start.range-end {border-radius: 9999px;}
.cal-viewbox { position: relative; overflow: hidden; width: 100%; }
.cal-filmstrip { display: flex; width: 100%; transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.cal-grid-container { min-width: 100%; flex-shrink: 0;box-sizing: border-box; }
/* Calendar css*/


input#input_43_50_1, input#input_43_50_2, input#input_43_50_3 {padding-right:10px;padding-left:10px;}
#field_43_50 div.ginput_container.ginput_complex.gform-grid-row{align-items:center;}
.gform_wrapper.gravity-theme .gfield div[class^='gfield_time']:has(select):after{top:42%;}

/* IMAGE TO PDF MODAL STYLES */
/* For PROCESS SERVICE and SUBPOENA forms */
div#field_43_53 div.moxie-shim.moxie-shim-html5{left:9999px !important;} 
#gform_drag_drop_area_43_53 {opacity: 0;pointer-events: none;height: 0;overflow: hidden;padding:0px;}
span#gfield_upload_rules_43_53{display:none;}
/* For PROCESS SERVICE and SUBPOENA forms */

/* For Investigation form */
div#field_43_169 div.moxie-shim.moxie-shim-html5{left:9999px !important;} 
#gform_drag_drop_area_43_169 {opacity: 0;pointer-events: none;height: 0;overflow: hidden;padding:0px;}
span#gfield_upload_rules_43_169{display:none;}
/* For Investigation form */

/* For Court Service form */
div#field_43_170 div.moxie-shim.moxie-shim-html5{left:9999px !important;} 
#gform_drag_drop_area_43_170 {opacity: 0;pointer-events: none;height: 0;overflow: hidden;padding:0px;}
span#gfield_upload_rules_43_170{display:none;}
/* For Court Service form */

/* For Eviction Service form */
div#field_43_171 div.moxie-shim.moxie-shim-html5{left:9999px !important;} 
#gform_drag_drop_area_43_171 {opacity: 0;pointer-events: none;height: 0;overflow: hidden;padding:0px;}
span#gfield_upload_rules_43_171{display:none;}
/* For Eviction Service form */

.upload-box {position: relative;border: 1px dashed #c5c5c5;padding: 25px;text-align: center;border-radius: 6px;cursor: pointer;background: rgba(0,0,0,.02);padding-bottom: 31px;}
.upload-box input[type="file"] {position: absolute;width: 100%;height: 100%;opacity: 0;cursor: pointer;top: 0;left: 0;}
.upload-text {font-weight: 500;color: #444;}
.convert-btn {padding: 10px 18px;background: #1e3a5f;color: #fff;border: none;border-radius: 4px;cursor: pointer;}
.convert-btn:disabled {background: #ccc;cursor: not-allowed;width: fit-content;align-self:center}
.helper-text {display: block;margin-top: 10px;font-size: 13px;color: #666;}
.upload-content {display: flex;flex-direction: column; margin-top:8px}
.desc.gfield_description {padding-top: 13px; margin-top: 8px;}
.convert-btn.pdf-convert-ready-pulse-toggle {background-color: #ffffff;border: 2px solid #0F2139;color: #0F2139;transition: all 0.3s ease;cursor: pointer;animation: borderPulseNavy 2s infinite;}
@keyframes borderPulseNavy {0% {box-shadow: 0 0 0 0 rgba(15, 33, 57, 0.4);}70% {box-shadow: 0 0 0 10px rgba(15, 33, 57, 0);}100% {box-shadow: 0 0 0 0 rgba(15, 33, 57, 0);}}
.convert-btn.pdf-convert-ready-pulse-toggle:hover {animation: none;background-color: #0F2139;color: #ffffff;}
.pdf-modal {display: none;position: fixed;top: 0;left: 0;width: 100%;height: 100%;z-index: 9999;}
.pdf-modal-overlay {position: absolute;width: 100%;height: 100%;background: rgba(0,0,0,0.6);}
.pdf-modal-content {position: relative;width: 90%;max-width: 1000px;margin: 3% auto;background: #fff;border-radius: 8px;overflow: hidden;display: flex;flex-direction: column;max-height: 90dvh;}
.pdf-modal-header {display: flex;justify-content: space-between;align-items: center;padding: 12px 16px;background: #1e3a5f;color: #fff;font-weight: 500;}
.modal-close {background: none;border: none;color: #fff;font-size: 20px;cursor: pointer;}
.pdf-modal-body {padding: 15px;max-height: 600px;overflow: auto;display: flex;flex-direction: column;   align-items: center;      background: #f9f9f9;}
#pdfPreviewCanvas {height: auto;}
.pdf-modal-footer {display: flex;justify-content: flex-end;gap: 10px;padding: 15px;}
.cancel-btn {padding: 10px 18px;background: #eee;border: none;border-radius: 4px;cursor: pointer;}
.cancel-btn:hover {background: #ddd;}
.pdf-zoom-controls {display: flex;gap: 10px;align-items: center;padding: 10px;justify-content: center;background: #f1f1f1;}
.pdf-zoom-controls button {padding: 5px 10px;cursor: pointer;}
.pdf-zoom-controls {display: inline-flex;align-items: center;gap: 12px;padding: 8px 20px;background: #ffffff;border: 1px solid #e2e8f0;border-radius: 50px; /* Pill shape */box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);margin-bottom: 1.5rem;font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;}
.pdf-zoom-controls button {background: transparent;border: none;color: #475569;font-size: 14px;font-weight: 600;cursor: pointer;padding: 6px 6px;border-radius: 8px;transition: all 0.2s ease;display: flex;align-items: center;justify-content: center;}
.pdf-zoom-controls button:hover {background-color: #f1f5f9;color: #1e293b;}
.pdf-zoom-controls button:active {transform: scale(0.95);}
.pdf-zoom-controls .controls{display:flex; align-items:center;}
.pdf-zoom-controls .pagination{display:flex; align-items:center;}
.pdf-zoom-controls {justify-content:space-between; width:fit-content;};
#zoomResetBtn {color: #3b82f6;background-color: #eff6ff;}
#zoomResetBtn:hover {background-color: #dbeafe;}
#zoomLevel {font-size: 13px;font-weight: 700;color: #1e293b;min-width: 45px;text-align: center;user-select: none;}
#pdfPreviewCanvas {border-radius: 8px;box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);border: 1px solid #f1f5f9;}
.pdf-canvas-wrapper {overflow: auto;max-width: 100%;}
.pdf-canvas-wrapper::-webkit-scrollbar {width: 6px;  height: 6px; }
.pdf-canvas-wrapper::-webkit-scrollbar-track {background: transparent; }
.pdf-canvas-wrapper::-webkit-scrollbar-thumb {background-color: #d1d5db;border-radius: 10px;transition: background 0.2s ease;}
.pdf-canvas-wrapper::-webkit-scrollbar-thumb:hover {background-color: #9ca3af;}
.pdf-canvas-wrapper::-webkit-scrollbar-button {display: none;width: 0;height: 0;}
.pdf-canvas-wrapper {scrollbar-width: thin;scrollbar-color: #d1d5db transparent;}
#pageInfo {font-size: 14px;}
button {display: inline-flex;align-items: center;padding: 8px 16px;cursor: pointer;gap: 8px;}
.btn-chevron-left::before,
.btn-chevron-right::after {content: '';display: inline-block;width: 6px;height: 6px;border-top: 2px solid currentColor; border-right: 2px solid currentColor;}
.btn-chevron-left::before {transform: rotate(-135deg);}
.btn-chevron-right::after { transform: rotate(45deg);}
/* IMAGE TO PDF MODAL STYLES */


/* ---------------------------------------------------------------------------------------------- */
/*                                         Fillable Forms                                         */
/* ---------------------------------------------------------------------------------------------- */
#fillable-form-links {margin-top: 20px;padding: 16px;border: 1px solid #d1d5db;border-radius: 4px;background: #ffffff;box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);}
#fillable-form-links h3 {margin: 0 0 12px;font-size: 14px;font-weight: 800;color: #374151;border-bottom:none !important;padding:0px;}
#fillable-form-list {display: flex;flex-direction: column;gap: 10px;}
#fillable-form-modal.ff-modal {position: fixed;inset: 0;z-index: 99999;display: flex;align-items: center;justify-content: center;padding: 20px;}
#fillable-form-modal.ff-modal.hidden {display: none;}
#fillable-form-modal .ff-modal-overlay {position: absolute;inset: 0;background: rgba(17, 24, 39, 0.6);backdrop-filter: blur(4px);}
#fillable-form-modal .ff-modal-dialog {position: relative;width: 100%;max-width: 1200px;height: 95vh;background: #fff;border-radius: 5px;overflow: hidden;display: flex;flex-direction: column;box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);}
#fillable-form-modal .ff-modal-header {display: flex;justify-content: space-between;align-items: center;padding: 18px 22px;border-bottom: 1px solid #e5e7eb;background: #fff;}
#fillable-form-modal .ff-modal-title h3 {margin: 0;font-size: 20px;font-weight: 700;color: #111827;}
#fillable-form-modal .ff-modal-title p {margin: 4px 0 0;font-size: 11px;text-transform: uppercase;letter-spacing: 1.4px;color: #6b7280;}
#fillable-form-modal .ff-modal-actions {display: flex;gap: 10px;}
#fillable-form-modal .ff-btn {padding: 10px 18px;border: none;border-radius: 4px;cursor: pointer;}
#fillable-form-modal .ff-btn.ff-btn-light {background: #1e3a5f;color: white;}
#fillable-form-modal .ff-btn.dark {background: #1e3a5f;color: white;}
#fillable-form-modal .ff-modal-body {flex: 1;overflow: auto;background: #d1d5db;padding: 24px;display: flex;justify-content: center;}
#fillable-form-modal #ff-canvas-wrapper {position: relative;background: #fff;box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);min-height: 300px;}
#fillable-form-modal #ff-loader {padding: 70px;text-align: center;color: #6b7280;}
#fillable-form-modal .ff-spinner {width: 36px;height: 36px;margin: 0 auto 12px;border: 4px solid #d1d5db;border-top-color: #2563eb;border-radius: 50%;animation: ff-spin 0.8s linear infinite;}
@keyframes ff-spin {to {transform: rotate(360deg);}}
span.fillable-form-link {color:#0F4C69;font-weight:700;cursor:pointer;}
span.fillable-form-link:hover {text-decoration:underline;}
div#ff-canvas-wrapper textarea, div#ff-canvas-wrapper input {padding:0;margin:0;outline:none;border:1px solid #00000033;font-size:9px;border-radius:2px;background:transparent;}
div#ff-canvas-wrapper input{line-height:0;min-height:0;}
div#ff-pdf-viewer-container {overflow-x: scroll;}
.success-modal {position: fixed;top: 20%;left: 50%;z-index: 9999; display:flex; gap: 20px; place-items:center;background: #0F2139;color: white;padding: 15px 15px;border-radius: 8px;font-size: 16px;box-shadow: 0 4px 12px rgba(0,0,0,0.2);opacity: 0; visibility: hidden;transform: translate(-50%, -60%);transition: all 0.4s ease;}
.success-modal p {margin:0 !important;}
.success-modal span {cursor: pointer;}
.success-modal.show {opacity: 1;visibility: visible;transform: translate(-50%, -50%);}
.form-notice-container p {font-size: 13px;color: #4b5563; margin: -8px 0 15px 0;line-height: 1.4;}
div#field_46_23 div#fillable-form-modal {position: absolute;}
div#field_46_23 {position: relative;}
div#field_46_23 #fillable-form-modal .ff-modal-body{padding: 5px;}
.fillableform-listitem {display: flex;align-items: center;gap: 12px;}
.icon-download {width: 16px;height: 16px;display: inline-block;position: relative;cursor: pointer;border-bottom: 2px solid #0F4C69;}
.icon-download::before {content: "";position: absolute;top: 0;left: 7px;width: 2px;height: 14px;background: #0F4C69;}
div#ff-canvas-wrapper select{padding:0px;}
.icon-download::after {content: "";position: absolute;top: 6px;left: 4px;width: 6px;height: 6px;border-right: 2px solid #0F4C69;border-bottom: 2px solid #0F4C69;transform: rotate(45deg);}
/* ---------------------------------------------------------------------------------------------- */
/*                                         Fillable Forms                                         */
/* ---------------------------------------------------------------------------------------------- */

/* Custom Scrollbar In the Order Service Summary Section */
.order-summary {max-height: 90dvh;overflow-y: scroll;scrollbar-width: thin;scrollbar-color: #ddd transparent;}
.order-summary::-webkit-scrollbar {width: 6px;}
.order-summary::-webkit-scrollbar-track {background: transparent;border-radius: 10px;}
.order-summary::-webkit-scrollbar-thumb {background: #ddd;border-radius: 10px;}
.order-summary::-webkit-scrollbar-thumb:hover {background: #ddd;}
/* Custom Scrollbar In the Order Service Summary Section */

/* Custom Validation */
a.validation-summary-link {text-decoration: none;color: #c02b0a !important;}
.custom-error-summary {border: 2px solid #c02b0a;padding: 16px;margin-bottom: 20px;border-radius: 4px;}
.custom-error-summary ul {list-style: none;margin-bottom: 0 !important;padding-left: 0;}
.custom-error-summary li {text-align: left;}
.custom-error-summary ul li a {font-weight: 500 !important;}
.custom-gf-error .custom-gf-validation-message {color: #c02b0a;font-size: 14px;font-weight: 500;margin-top: 8px;padding: 13px 24px;border: 1px solid #c02b0a;background: #fff9f9;}
.custom-gf-error input, .custom-gf-error textarea, .custom-gf-error select {border-color: #c02b0a !important;}
/* Custom Validation */

.uidda-fee-breakdown {text-align: left;margin-top: 20px;padding-top: 20px;border-top:1px solid #000;}
.uidda-fee-breakdown .breakdown-element .fee-price{color: #0F4C69;}
.breakdown-element {display: block;}
.fee-label {display: inline-block;}
.fee-price {display: inline-block;float: right;}
.gs-product-configurator-item-meta-template p:not(.title) {margin-bottom: 0px !important;}
.gs-product-configurator-item-meta-template p.additional-parties-title{text-decoration: none;color: #0F4C69;font-weight: 700;}

/* Modal Styling Fix */ 
.gpnf-modal-43-27,
.gpnf-modal-43-29,
.gpnf-modal-43-181,
.gpnf-modal-43-77  {
    --gpnf-modal-color-primary: #3498db !important;
    --gpnf-modal-color-primary-contrast: #ffffff !important;
    --gpnf-modal-color-secondary: #2980b9 !important;
    --gpnf-modal-color-primary-darker: #2980b9 !important;
    --gpnf-modal-color-danger: #e74c3c !important;
    --gpnf-modal-color-danger-contrast: #ffffff !important;
}
/* Modal Styling Fix */

/* Process Service Page Footer Styling Fix */
body.page-template-template-coverage-areas-php em{width: 100%;}
/* Process Service Page Footer Styling Fix */

/* Gravity Forms V3 UI Fixes */
.ginput_container.ginput_container_date table.calendar tbody tr {display: flex;}
.ginput_container.ginput_container_date table.calendar tbody tr.yearSelector,
.ginput_container.ginput_container_date table.calendar tbody tr.monthSelector { width: 100%; align-items: center; margin: 10px 0px;}
.ginput_container.ginput_container_date table.calendar tbody tr.yearSelector select,
.ginput_container.ginput_container_date table.calendar tbody tr.monthSelector select {padding: 4px !important;}
.ginput_container.ginput_container_date table.calendar tbody tr.yearSelector > td.nav.prev,
.ginput_container.ginput_container_date table.calendar tbody tr.yearSelector > td.nav.next,
.ginput_container.ginput_container_date table.calendar tbody tr.monthSelector > td.nav.prev,
.ginput_container.ginput_container_date table.calendar tbody tr.monthSelector > td.nav.next { flex: 0 0 40px; text-align: center;}
.ginput_container.ginput_container_date table.calendar tbody tr.yearSelector > td.year,
.ginput_container.ginput_container_date table.calendar tbody tr.monthSelector > td.month { flex: 1; text-align: center;}
.ginput_container.ginput_container_date table.calendar tbody tr.yearSelector select,
.ginput_container.ginput_container_date table.calendar tbody tr.monthSelector select {width: auto;min-width: 100px;margin: 0 auto;}
.ginput_container.ginput_container_date .gform-datepicker-calendar{top: 60px !important;}
@media (max-width: 640px){
  .ginput_container.ginput_container_date table.calendar tbody td{padding: 15px 3px;}
  .ginput_container.ginput_container_date table.calendar tbody span {padding: 15px !important;}
  .ginput_container.ginput_container_date table.calendar tbody th {padding: 30px 2px; }
}

.gform_wrapper.gravity-theme .gform_previous_button .gform-loader,
.gform_wrapper.gravity-theme .gform_next_button .gform-loader,
.gform_wrapper.gravity-theme .single_add_to_cart_button .gform-loader { position: absolute; inset: auto 12px auto auto; margin: 0; vertical-align: middle; right: 10px !important;}

/* Gravity Forms V3 UI Fixes */