.os-fraud-checker-wrapper *{margin: 0;padding: 0;}
.os-fraud-checker-wrapper { margin: 40px auto; padding:40px; }
.os-header { text-align:center; margin-bottom: 40px;}
.os-header h2{  font-weight: 800; }
.os-search-form { display:flex; justify-content:center; margin-bottom:20px; position: relative;}
.os-search-form input { padding:20px; flex:1; border:1px solid #ccc; border-radius:50px; font-size: 16px;}
.os-search-form button { padding:10px 20px; background:#16a34a; color:#fff; border:none; cursor:pointer; font-size: 18px; 
    position: absolute;
    right: 3px;
    top: 3px;
    bottom: 3px;
    border-radius: 50px;
    min-width: 140px;}
.fc-summary { display:grid; grid-template-columns:repeat(auto-fit, minmax(180px,1fr)); gap:10px; margin-bottom:20px; }
.fc-summary .card { background:#f9fafb; padding:15px; text-align:center; border-radius:8px; box-shadow:0 1px 4px rgba(0,0,0,.05); }
.fc-table table { width:100%; border-collapse:collapse; margin-top:20px; }
.fc-table th, .fc-table td { padding:10px; border:1px solid #e5e7eb; text-align:center; }
.fc-table th { background:#f3f4f6; }


.report-wrapper{
    display: flex;
    gap: 40px;
    flex-direction: row-reverse;
}
.summer-card{
    display: flex;
    gap: 16px;
}
.os-fraud-checker-wrapper .card{
    margin-bottom: 1.875rem;
    background-color: #fff;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    position: relative;
    border: 0 solid transparent;
    border-radius: 2px;
    box-shadow: 0 0 13px 0 rgba(82, 63, 105, .05);
    height: -webkit-calc(100% - 30px);
    height: -moz-calc(100% - 30px);
    height: calc(100% - 30px);
    padding: 20px;
}
.os-fraud-checker-wrapper .card .card-header h4{
    font-size: 22px;
    margin: 0px;
}
.output-chart{
    flex-basis: 35%;
}
.output-table{
    flex-basis: 65%;
}
.os-fraud-checker-wrapper .os-custom-btn,
.os-fraud-checker-wrapper .button {
    padding: .938rem 1.5rem;
    border-radius: 2px;
    font-weight: 500;
    font-size: 1rem;
    color: #008710;
    border-color: #005b18;
        border: 1px solid;
    margin: 12px 0;
}
.os-fraud-checker-wrapper .card-header {
    border-color: #f0f0f0;
    position: relative;
        align-items: flex-start;
    background: transparent;
    padding: 1.5rem 1.875rem 1.25rem;
    display: -moz-box;
    display: flex;
    -moz-box-pack: justify;
    justify-content: space-between;
    -moz-box-align: center;
    align-items: center;
}
.os-fraud-checker-wrapper .separator {
    height: 53px;
    width: 9px;
    padding-right: 7px;
    background: #ff720d;
    margin-right: 9px;
    border-radius: 2px;
}
.os-fraud-checker-wrapper .card-body{
    text-align: center;
}
.os-fraud-checker-wrapper .card-body p{font-size: 14px;margin-bottom: 16px;display: inline-block;}

.oft-dash-wrapper .oft_dl-report-table{display: block;}
.oft_dl-report-table{display: inline-block;}
#os_report_table{width: 100%;border-collapse: collapse;margin:30px 0;table-layout: fixed;}
#os_report_table th,
#os_report_table td{border: 1px solid #ebf1f6;padding: 10px;text-align: center;}
#os_report_table thead tr{background: #f5f6fa;color: #111827;}
#os_report_table tbody tr:nth-child(even){background: #f6f8f9;}
#os_report_table td{font-size: 15px;}
#os_report_table thead tr th{height: 26px;letter-spacing: 0.4px;font-weight: 600;font-size: 14px;}

.summer-card .card{
    flex-grow: 1;
    text-align: center;
    flex-basis: 100%;
    border-radius: 6px;
}
.summer-card .card >*{margin: 0;}

.os-total-parcel-card{
    background: #f0f4ff;
  border-top: 4px solid #3b82f6 !important;
  color: #1e3a8a;
}
.os-total-delivery-card{
     background: #ecfdf5;
  border-top: 4px solid #10b981 !important;
  color: #065f46; 
}
.os-total-cancel-card{
    background: #fef2f2;
  border-top: 4px solid #ef4444 !important;
  color: #7f1d1d;
} 
.os-total-ratio-card{
    background: #fff7ed;
  border-top: 4px solid #f59e0b !important;
  color: #78350f;
}

/* Table wrapper */
#os_report_table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
}
/* Table head */
#os_report_table thead {
  background: #3b82f6; /* blue */
  color: #fff;
  text-align: left;
}

#os_report_table th {
  padding: 12px 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Table body */
#os_report_table td {
  padding: 12px 15px;
  border-bottom: 1px solid #f0f0f0;
}

/* Alternate rows */
#os_report_table tbody tr:nth-child(even) {
  background: #f9fafb;
}

/* Hover effect */
#os_report_table tbody tr:hover {
  background: #eef6ff;
  transition: 0.2s;
}

/* Highlight numbers */
#os_report_table td.delivered {
  color: #10b981; /* green */
  font-weight: bold;
}

#os_report_table td.returned {
  color: #ef4444; /* red */
  font-weight: bold;
}

/* Delivery rate */
#os_report_table td:last-child {
  font-weight: 600;
  color: #f59e0b; /* amber */
}


@keyframes growProgressBar {
  0%, 33% { --pgPercentage: 0; }
  100% { --pgPercentage: var(--value); }
}

@property --pgPercentage {
  syntax: '<number>';
  inherits: false;
  initial-value: 0;
}

.os-fraud-checker-wrapper div[role="progressbar"] {
  --size: 12rem;
  --fg: #00a52c;
  --bg: #def;
  --pgPercentage: var(--value);
  animation: growProgressBar 3s 1 forwards;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: 
    radial-gradient(closest-side, white 80%, transparent 0 99.9%, white 0),
    conic-gradient(var(--fg) calc(var(--pgPercentage) * 1%), var(--bg) 0)
    ;
  font-family: Helvetica, Arial, sans-serif;
  font-size: calc(var(--size) / 5);
  color: var(--fg);
}

.os-fraud-checker-wrapper div[role="progressbar"]::before {
  counter-reset: percentage var(--value);
  content: counter(percentage) '%';
}

.output-chart .card-body{
    text-align: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}
.os-fraud-checker-wrapper .output-chart .card-header h4{margin-bottom: 8px;}
.output-chart p{font-size: 14px;}
.os-error-msg{
  font-size: 14px;
    color: red;
    display: block;
    text-align: center;
    margin-bottom: 18px;
}