.main-container {
  display: flex;
  border: 3px solid #333; /* Bold border */
  padding: 16px;
  gap: 20px; /* space between left and right sections */
  margin: 20px auto;
  max-width: 900px;
  box-sizing: border-box;
}
.left-section {
  flex: 1;
  background-color: #f5f5f5;
  padding: 12px;
  box-sizing: border-box;
}
.right-section {
  flex: 1;
  background-color: #e9e9e9;
  padding: 12px;
  box-sizing: border-box;
}
.frame-one{
    border: 1px solid;
    border-style: solid;
    margin-left: 0px;
    margin-bottom: 5px;
    padding: 5px;
    font-size: 14px;
    width: 100%;
}
.frame-main{
    border: 1px solid; 
    width: 100%; 
    display: flex;
}
.frame-main-l{ 
    width: 48%; 
    margin-left: 5px;
    vertical-align: top; 
    float: left;
}
.frame-main-r{ 
    border-left: 1px solid black; 
    width: 48%; 
    margin-left: 10px;
    vertical-align: top; 
    float: right;
}
#quotation-form2 input, #quotation-form2 select {
    display: block;
    margin-bottom: 10px;
    padding: 5px;
    font-size: 14px;
    width: 300px;
}
#submit_button {
    padding: 5px 10px;
    font-size: 12px;
    width: 200px;
    height: 40px;
}
#quotation-table-wrapper table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}
#quotation-table-wrapper th {
    background: #1A6C7A;
    color: #f5f5f5;
    border: 0px solid #ddd;
    padding: 5px;
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 5;    
}
#quotation-table-wrapper td {
    border: 1px solid #ddd;
    padding: 5px;
    overflow: auto;
}
.dashicons-trash {
    font-size: 18px;
    color: red;
}
#refresh-btn {
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
}
div.scrollable {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: auto;
}

.select-filter {
  width: 250px; /* Sets a fixed width of 200 pixels */
  height: 50px; /* Sets a fixed height of 40 pixels */
  /* padding: 8px 12px; Adds internal spacing */
  border: 1px solid #ccc; /* Adds a border */
  border-radius: 4px; /* Rounds the corners */
  font-size: 15px; /* Sets the font size */
/*  appearance: none; /* Removes default browser styling for a more consistent look */
  background-color: lightblue; /* Sets a background color */
/*  /* You can add a custom arrow icon if 'appearance: none' is used */
/*  background-image: url('data:image/svg+xml;utf8,<svg fill="%23333" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
/*  background-repeat: no-repeat;
/*  background-position: right 10px center;
/*  background-size: 16px; */
}

.select-normal {
  width: 227px; /* Sets a fixed width of 200 pixels */
  height: 50px; /* Sets a fixed height of 40 pixels */
  /* padding: 8px 12px; Adds internal spacing */
  border: 1px solid #ccc; /* Adds a border */
  border-radius: 4px; /* Rounds the corners */
  font-size: 14px; /* Sets the font size */
/*  appearance: none; /* Removes default browser styling for a more consistent look */
/*  background-color: #f8f8f8; /* Sets a background color */
/*  /* You can add a custom arrow icon if 'appearance: none' is used */
/*  background-image: url('data:image/svg+xml;utf8,<svg fill="%23333" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
/*  background-repeat: no-repeat;
/*  background-position: right 10px center;
/*  background-size: 16px; */
}

/* Prevent action columns from expanding */
.col-email-action,
.col-sms-action,
.col-delete-action {
    width: 1%;
    white-space: nowrap;
    text-align: center;
}

/* Keep icons tight */
.col-email-action button,
.col-sms-action button,
.col-delete-action button {
    padding: 0;
    margin: 0;
    line-height: 1;
}


/* Keep text in Center in the cell */
.col-quote-id {
    text-align: center;
}
.col-quote-id a {
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}


/* Optional: slightly smaller icons */
.col-email-action .dashicons,
.col-sms-action .dashicons,
.col-delete-action .dashicons {
    font-size: 18px;
}

/* Show a view popup window for detail quotations */
#quotation-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
}

.quotation-modal-content {
    background: #fff;
    max-width: 800px;
    margin: 5% auto;
    padding: 20px;
    border-radius: 6px;
}

.quotation-modal-close {
    float: right;
    cursor: pointer;
    font-size: 20px;
}

.quotation-detail-table td {
    padding: 8px 10px;
    vertical-align: top;
    border-bottom: 1px solid #eee;
}

.quotation-detail-table strong {
    color: #555;
    font-size: 12px;
    text-transform: uppercase;
}

.triprouting-table {
    font-size: 12px;
}

.triprouting-table th,
.triprouting-table td {
    padding: 4px 6px;
}

.triprouting-table th {
    font-weight: 400; /* or 300 */
}

.triprouting-table tr {
    line-height: 1.2;
}

.compact-table {
    font-size: 13px;
}

.compact-table td {
    padding: 3px 4px;
    vertical-align: top;
}

.compact-table strong {
    display: block;
    font-size: 12px;
    margin-bottom: 2px;
    color: #555;
}


/*Quotation table vertical scrollbar*/
.quotation-table-scroll {
    max-height: 690px;       /* ~15 rows */
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #ddd;
}

/* Improve table look */
.quotation-table-scroll table {
    width: 100%;
    border-collapse: collapse;
}

.quotation-table-scroll th,
.quotation-table-scroll td {
    padding: 6px 8px;
    font-size: 13px;
    white-space: nowrap;
}

/* Optional: sticky header */
.quotation-table-scroll thead th {
    position: sticky;
    top: 0;
    background: #1A6C7A;
    z-index: 2;
}

/*Highlight row on hover*/
.quotation-table-scroll tbody tr:hover {
    background: #f9f9f9;
}

/*Preview or Edit Email before sending*/
.email-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 9999;
    display: none;
}

.email-modal-content {
    background: #fff;
    width: 80%;                 /* ⬅ wider */
    max-width: 1100px;          /* ⬅ safe max */
    margin: 5vh auto;           /* ⬅ top spacing */
    border-radius: 8px;
    padding: 20px;
    position: relative;
    max-height: 90vh;           /* ⬅ limit height */
    overflow-y: auto;           /* ⬅ internal scroll */
}

.email-modal-close {
    float: right;
    font-size: 20px;
    cursor: pointer;
}

.email-icon-wrapper {
    position: relative;
    display: inline-block;
}

.email-count-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #d63638; /* WP red */
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    line-height: 1.4;
}

.email-count-pill {
    background: #d63638;
    color: #fff;
    font-size: 10px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 12px;
    line-height: 1.2;
}

