@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/PlusJakartaSans-Regular.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/PlusJakartaSans-Bold.ttf') format('truetype');
    font-weight: 700;
}

body{
    background:#f3f4f8;
    font-family:'Plus Jakarta Sans',sans-serif;
}

.relay-container{
    margin:auto;
    padding:5%;
}

.relay-logo{
    text-align:center;
    font-size:26px;
    font-weight:700;
    color:#1c2b7c;
    margin-bottom:30px;
}

.relay-input-box-style{
    border-radius: 10px !important;
    margin-top: 10px;
    height: 50px;
    font-family: Plus Jakarta Sans, sans-serif;
    font-size: medium;
}

.relay-card{
    background:#ffffff;
    padding:40px;
    border-radius:20px;
    border:2px solid #e6e7ee;
}

.relay-title{
    font-size:30px;
    font-weight:700;
    color:#1c2b7c;
    font-family: Plus Jakarta Sans, sans-serif;
}

.relay-subtitle {
    color: #000000;
    margin-bottom: 25px;
    font-weight: 400;
    line-height: 1.3; 
    font-family: Plus Jakarta Sans, sans-serif;
}

.relay-content{
    background: #f7f7fa;
    box-shadow: 0 0 0 22px #f7f7fa;
    border-radius: 14px;
}

.relay-section{
    background:#fff;
    padding:25px;
    border-radius:14px;
    border:1px solid #e6e7ee;
    margin-bottom:20px;
}

.font-style{
    color: #07008B;
    font-family: Plus Jakarta Sans, sans-serif;
	font-size: large;
}

.relay-add-notes{
    margin-left: 35px;
    height: 45px;
    width: 90%;
    background-color: #f3f3f6;
}

.relay-add-notes::placeholder {
    color: #000000;
}

.relay-sub-header-customer{
    margin-left: 45px;
    font-family: Plus Jakarta Sans, sans-serif;
    margin-top: -17px;
}
.relay-sub-header-placements{
   	margin-left: 45px;
    font-family: Plus Jakarta Sans, sans-serif;
    margin-top: -50px;
}

.form-row{
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: -6px;
    margin-left: 45px;
    margin-bottom: -10px;
}

.form-row-placements{
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: -6px;
    margin-left: 35px;
    margin-bottom: -10px;
}

.form-group{
    flex:1;
    min-width:200px;
}

label{
    display:block;
    font-weight:600;
    font-size:14px;
    margin-bottom:6px;
}

input,select,textarea{
    width:100%;
    padding:12px;
    border-radius:8px;
    border:1px solid #dcdce6;
}

textarea{
    min-height:60px;
    resize:none;
}

.placement-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.monthly{
    color:#17a34a;
    font-weight:600;
    text-align: right;
    font-size:x-large;
}

.add-placement{
    margin-bottom: 20px;
    padding:10px;
    width:100%;
    border-radius:10px !important;
    border:2px dashed #aaa;
    cursor:pointer;
    background-color: #ededf3;
}

.doc-card{
    display:flex;
    justify-content:space-between;
    align-items:center;
    border:1px solid #e6e7ee;
    border-radius:12px;
    padding:18px;
    margin-bottom:15px;
    
}

.doc-title{
    font-weight:700;
    color:#1c2b7c;
    font-family: Plus Jakarta Sans, sans-serif;
}

.doc-desc{
    font-size:13px;
    color:#666;
}
.relay-document-checkbox{
    max-width: 40px;
    height: 25px;
}

.actions{
    display:flex;
    justify-content:flex-end;
    gap:15px;
    margin-top:25px;
}

.btn{
    padding:12px 22px;
    border-radius:10px;
    border:none;
    cursor:pointer;
    font-weight:500;
}

body[data-button-style*="slightly_rounded"] button.action-btn{
    border-radius: 10px !important;
    -webkit-border-radius: 10px !important;
    height: 50px;
    background:#1c2b7c;
    color:#fff;
}

.preview{
    background:#1c2b7c;
    color:#fff;
}

.send{
    background:#1c2b7c;
    color:#fff;
}

.placement-block{
    position: relative;
    margin-bottom: 25px;
    padding: 20px;
    border:1px solid #eee;
    border-radius:10px;
}

.remove-placement{
    position:absolute;
    top:10px;
    right:10px;
    font-size:18px;
    cursor:pointer;
    color:#999;
}

.remove-placement:hover{
    color:red;
}

#placements-wrapper .placement-block:first-child .remove-placement{
    display:none;
}

/* -----------------------------
    Preview Modal Styles
----------------------------- */

.relay-preview-modal{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:#e5e5e5;
    z-index:9999;
    color: #000000;
}


.relay-preview-container{
    width:70%;
    height:90%;
    background:white;
    margin:30px auto;
    border-radius:10px;
    overflow:hidden;
    margin-top: 60px;
    margin-bottom: 60px;
}

/* .relay-preview-container {
    width: 210mm;
    height: 297mm;
    background: white;
    margin: 20px auto;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
} */

.preview-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    border-bottom:1px solid #ddd;
    padding:15px 25px;
}

.preview-tabs{
    display:flex;
    gap:25px;
}

.preview-tab{
    border:none;
    background:none;
    font-size:16px;
    cursor:pointer;
    padding-bottom:8px;
}

.preview-tab.active{
    border-bottom:3px solid #4f46e5;
    color:#4f46e5;
}

.preview-close{
    font-size:24px;
    cursor:pointer;
}

.preview-close:hover {
    color: #f80505;
}

.preview-body{
    padding:50px;
    padding-top: 25px;
    height:98%;
    overflow-y:auto;
}

/* .preview-body {
    padding: 25mm 20mm;
    height: calc(100% - 50px);
    overflow-y: auto;
    box-sizing: border-box;
} */


.msa-title{
    text-align:center;
    font-size:32px;
    font-weight:700;
    border-bottom:2px solid black;
    display:inline-block;
    margin-bottom:40px;
    margin-left: 30%;
    color: #000000;
}

.msa-title-order-form{
    text-align:center;
    font-size:32px;
    font-weight:700;
    border-bottom:2px solid black;
    max-width: fit-content;
    margin: auto;
    margin-bottom:40px;
    color: #000000;
}
.msa-title-order-form-h2{
    text-align:center;
    font-size:32px;
    font-weight:700;
    border-bottom:2px solid black;
    max-width: fit-content;
    margin: auto;
    margin-bottom:40px;
    color: #000000;
}

.preview-content{
    display:none;
}

.preview-content.active{
    display:block;
    padding: 0 10%;
}

.msa-text{
    line-height:1.7;
    margin-bottom:0px !important;
    padding-bottom: 0px !important;
    font-family: Plus Jakarta Sans, sans-serif;
    color: #000000;
    text-align: justify;
}

.placement-table{
    width:100%;
    border-collapse:collapse;
}

.placement-table th,
.placement-table td{
    border:1px solid #ddd;
    padding:10px;
    text-align:left;
}

.signature-section{
    display:flex;
    justify-content:space-around;
    margin-top:50px;
    flex-wrap: wrap;
    gap:2rem;
}

.msa-text{
    line-height:1.7;
    margin-bottom:15px;
    color: #000000;
}

.msa-header{
    font-family: Plus Jakarta Sans, sans-serif;
    color: #000000;
}

.preview-bullets{
    margin-left: 60px;
    font-family: Plus Jakarta Sans, sans-serif;
    text-align: justify;
}
.signature-head-font-style{
    padding-left: 55px;
    font-family: Plus Jakarta Sans, sans-serif;
    font-weight: 700;
    color: #000000;
}
.signature-font-style{
    font-family: Plus Jakarta Sans, sans-serif;
    font-weight: 700;
    color: #000000;
}
.signature-font-style-dash{
    color: #000000;
    display: flex;
    text-align: right;
    flex-direction: row;
    justify-content: space-between;
   // max-width: 230px;
    
}
.action-btn-layout{
    margin-top:40px;
    display:flex; gap:15px;
    justify-content: space-between;
}

.placement-table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
}

.placement-table th, 
.placement-table td {
  border: 1px solid #000000; 
  padding: 10px;
  text-align: left;
  vertical-align: middle;
}

.placement-table thead th {
  background-color: #0d007e; 
  color: #ffffff;
  font-weight: bold;
  font-size: 13px;
}
.placement-table tr.sub-header-row th {
  background-color: #d7d8f9; 
  color: #000000;
  font-weight: bold;
}

.placement-table tbody tr td {
  height: 40px; 
  background-color: #ffffff;
}

.placement-table tr.total-row td {
  font-weight: bold;
  background-color: #ffffff;
}

.relay-toast{
    position: fixed;
    top: 130px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff4d4f;
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    font-family: Plus Jakarta Sans, sans-serif;
    font-size: 14px;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    animation: slideDown 0.3s ease;
}

#api-success-toast {
 
    position: fixed;
    top: 130px;
    left: 50%;
    transform: translateX(-50%);
    background: #4CAF50;
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    font-family: Plus Jakarta Sans, sans-serif;
    font-size: 14px;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    animation: slideDown 0.3s ease;
    
}

@keyframes slideDown{
    from{
        opacity:0;
        transform:translate(-50%, -20px);
    }
    to{
        opacity:1;
        transform:translate(-50%, 0);
    }
}

#order-checkbox {
    cursor: not-allowed;
}

.pt-25{
    padding-top: 25px;
}
.pb-25{
    padding-bottom: 25px;
}
.pb-10{
    padding-bottom: 10px;
}

/* -----------------------------
    Customer Onboarding Styles
----------------------------- */

/* Table wrapper */
.relay-table {
    width: 100%;
    border-collapse: separate; 
    border-spacing: 0;
    border: none;
    border-radius: 10px;
    overflow: hidden; 
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Header row style */
.relay-table thead tr {
    background-color: #fbfbfc;
    color: #141464;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Rounded top corners for header */
.relay-table thead tr th:first-child {
    border-top-left-radius: 10px;
}
.relay-table thead tr th:last-child {
    border-top-right-radius: 10px;
}

/* Header cells padding and separator */
.relay-table th {
    padding: 12px;
    font-weight: 600;
    border-right: 1px solid #ddd;
}

/* Remove right border from last header cell */
.relay-table th:last-child {
    border-right: none;
}

/* Body rows style */
.relay-table tbody tr {
    background-color: #f3f3f6;
}

.relay-table td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

/* Remove right border from last column */
.relay-table td:last-child {
    border-right: none;
}

/* Remove bottom border from last row */
.relay-table tbody tr:last-child td {
    border-bottom: none;
}

/* Rounded bottom corners for last row */
.relay-table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
}
.relay-table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 10px;
}
/* Header row */
.relay-table thead tr th {
    text-align: center;
    color: #141464;
    background-color: #fbfbfc;
    font-weight: 600;
    font-family: Plus Jakarta Sans, sans-serif;
}

/* Body rows */
.relay-table tbody td {
    color: #000;
    text-align: center;
    font-family: Plus Jakarta Sans, sans-serif;
}

.relay-document-review{
    background-color: #28a745;
    color: #fff; /* white text */
    border: none; /* remove default border */
    padding: 10px 20px; /* spacing inside button */
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px; /* rounded corners */
    cursor: pointer;
    transition: all 0.3s ease; /* smooth hover effect */
    display: inline-block;
    text-align: center;
    text-decoration: none;
    width: 120px;
}

/* Hover effect */
.relay-document-review:hover {
    background-color: #218838; /* darker green on hover */
    box-shadow: 0 4px 8px rgba(0,0,0,0.15); /* subtle shadow */
}

/* Active/Click effect */
.relay-document-review:active {
    background-color: #1e7e34;
    transform: translateY(1px);
}

/* Disabled state */
.relay-document-review:disabled {
    background-color: #94d3a2;
    cursor: not-allowed;
    box-shadow: none;
}

body[data-button-style*="slightly_rounded"] button.relay-document-review{
    border-radius: 10px !important;
    -webkit-border-radius: 10px !important;
    height: 50px;
    color:#fff;
}

.relay-msa-content{
    display: block;
    padding: 0 10%;
}

.action-btn-customer-layout{
    margin-top:40px;
    display:flex; gap:15px;
    justify-content: center;
}

body[data-button-style*="slightly_rounded"] button.customer-action-btn{
    border-radius: 10px !important;
    -webkit-border-radius: 10px !important;
    height: 50px;
    background:#1c2b7c;
    color:#fff;
    width: 120px;
}

.credit-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 12px 15px;
    background-color: #fafafa;
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
}

.placement-name {
    font-weight: 500;
}

.placement-amount {
    text-align: right;
    color: #1a1a6a;
}

.placement-amount small {
    display: block;
    font-size: 12px;
    color: #999;
    font-weight: 400;
}

.signature-row {
    display: flex;
    align-items: center;
    margin-top: 20px;
    font-family: Plus Jakarta Sans, sans-serif;
    margin-left: -20px;
}

.signature-label {
    font-weight: bold;
    margin-right: 15px;
    font-size: 18px;
}

.signature-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 10px 25px;
    min-width: 220px;
    cursor: pointer;
    color: #1a237e; 
}

/* Creating the blue brackets */
.signature-box::before,
.signature-box::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 20px;
    border: 3px solid #446eff;
}

.signature-box::before {
    left: 0;
    border-right: none;
    border-radius: 15px 0 0 15px;
}

.signature-box::after {
    right: 0;
    border-left: none;
    border-radius: 0 15px 15px 0;
}

.click-text {
    font-size: 16px;
    margin-right: 10px;
}

.pen-icon {
    color: #1a237e;
}

.total-row {
    background: #f5f5f5;
    font-weight: 600;
}

.total-row td {
    border-top: 2px solid #000;
}

/* Dark Overlay */
.sig-modal-overlay {
    display: none; 
    position: fixed;
    z-index: 99999; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}

/* Central Modal Box */
.sig-modal-container {
    background: #fff;
    width: 90%;
    max-width: 550px;
    border-radius: 30px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    overflow: hidden;
    animation: sigFadeIn 0.3s ease;
}

@keyframes sigFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.sig-modal-header { 
    padding: 15px 20px; 
    border-bottom: 1px solid #000000; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    width: 90%; 
    margin-left: 5%;
}
.sig-modal-close { 
    font-size: 28px; 
    cursor: pointer; 
    color: #999; 
    line-height: 1; 
}
.sig-modal-close:hover { color: #000; }

.sig-modal-body { 
    padding: 20px; 
    margin-left: 10px;
}

/* Canvas Styling */
.sig-canvas-wrapper {
    border: 2px dashed #ccc !important;
    background: #fdfdfd;
    border-radius: 4px;
    margin-bottom: 10px;
}
#sig-canvas {
    max-width: 100%;
    height: auto;
    cursor: crosshair;
    touch-action: none;
}

.sig-legal-text { 
    font-size: 14px;
    color: #000000; 
    margin-top: 10px; 
    font-family: Plus Jakarta Sans, sans-serif;
}

.sig-modal-footer { 
    padding: 20px 20px;
    text-align: left;
    margin-top: -30px;
    margin-bottom: 10px;
}

body[data-button-style*="slightly_rounded"] button.sig-btn-clear { 
    background: #fff; 
    border: 1px solid #ccc; 
    padding: 8px 15px; 
    border-radius: 10px; 
    cursor: pointer; 
    font-family: Plus Jakarta Sans, sans-serif;
}
body[data-button-style*="slightly_rounded"] button.sig-btn-save { 
    background: #141464; 
    color: #fff; 
    border: none; 
    padding: 8px 20px; 
    border-radius: 10px; 
    cursor: pointer; 
    font-weight: bold;
    margin-right: 10px;
    font-family: Plus Jakarta Sans, sans-serif;
}
.sig-btn-save:hover { 
    background: #0056b3; 
}

.sig-modal-databox-display {
    width: 100% !important; 
    padding: 10px !important; 
    border: 1px solid #000 !important; 
    border-radius: 8px !important; 
    box-sizing: border-box !important; 
    background-color:#fff  !important;
}
.custom-toast, .custom-order-toast {
    position: fixed;
    left: 40%;
    top: 5%;
    background: #ff4d4f;
    color: #fff;
    padding: 12px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-family: sans-serif;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 9999;
}

.custom-toast.show, .custom-order-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.relay-success-banner,
 .relay-success-banner-finish {
    background-color: #519e60; /* green */
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 20px;
    color: #fff;
}

.relay-success-banner .success-content strong,
.relay-success-banner-finish .success-content strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.relay-success-banner .success-content p,
.relay-success-banner-finish .success-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.relay-success-banner a,
.relay-success-banner-finish a {
    color: #fff;
    text-decoration: underline;
}



/* @media print {
    body {
        background: white;
    }

    .relay-preview-modal {
        position: static;
        background: none;
    }

    .relay-preview-container {
        width: 210mm;
        height: auto;
        box-shadow: none;
        margin: 0;
    }

    .preview-body {
        padding: 20mm;
    }
}

@media screen and (max-width: 1200px) {
    .relay-preview-container {
        transform: scale(0.8);
        transform-origin: top center;
    }
}

@media screen and (max-width: 900px) {
    .relay-preview-container {
        transform: scale(0.65);
    }
} */