/* ===========================
   APR Status UI – Branded
   Palette:
   #ffffff  (base)
   #066aab  (primary)
   #FF7E83  (accent / error)
   #E0EFFB  (soft background)
   =========================== */

.apr-status{
  max-width: 920px;
  margin: 0 auto;
  color: #066aab;
}

.apr-status h3{
  margin: 0 0 14px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #066aab;
}

/* --- Search layout --- */
.apr-status .container-search-request{
  display: grid;
  grid-template-columns: 1fr 220px 140px;
  gap: 14px;
  align-items: end;
  padding: 16px;
  border-radius: 18px;
  background: #F6FAFD;
  /*box-shadow: 0 10px 28px rgba(6,106,171,.15);*/
}

/* Fields */
.apr-status .apr-status-field{
  display: grid;
  gap: 8px;
}

.apr-status label{
  font-size: 13px;
  font-weight: 700;
  color: #000 !important;
}

/* Inputs */
.apr-status select,
.apr-status input#apr_status_code{
  width: 100%;
  height: 46px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(6,106,171,.35);
  background: #ffffff;
  font-size: 14px;
  color: #4c4c4c;
  outline: none;
  transition: box-shadow .15s ease, border-color .15s ease;
}

.apr-status select:focus,
.apr-status input#apr_status_code:focus{
  border-color: #066aab;
  /*box-shadow: 0 0 0 4px rgba(6,106,171,.18);*/
}

/* Button */
.apr-status #apr_status_search{
  height: 46px;
  border: 0;
  border-radius: 14px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .03em;
  cursor: pointer;
  background: #066aab;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(6,106,171,.35);
  transition: transform .08s ease, box-shadow .2s ease, opacity .2s ease;
}

.apr-status #apr_status_search:hover{
  opacity: .95;
  box-shadow: 0 14px 26px rgba(6,106,171,.45);
}

.apr-status #apr_status_search:focus{
	border: 0;
}

.apr-status #apr_status_search:active{
  transform: translateY(1px);
}
.apr-status table td, .apr-status table th {
    border: 1px solid #a79d9d12 !important;
}

/* --- Message --- */
.apr-status #apr_status_msg{
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #F6FAFD;
  font-size: 13px;
  line-height: 1.35;
  color: #066aab;
}

.apr-status #apr_status_msg:empty{
  display: none;
}

.apr-status #apr_status_msg[data-type="error"]{
  background: rgba(255,126,131,.18);
  color: #8b1f2a;
}

.apr-status #apr_status_msg[data-type="info"]{
  background: #F6FAFD;
}

/* --- Results --- */
.apr-status #apr_status_results{
  margin-top: 18px;
  display: grid;
  gap: 18px;
}

/* Cards */
.apr-status .apr-status-card{
  background: #ffffff;
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 12px 34px rgba(6,106,171,.18);
}

.apr-status .apr-status-title{
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
  color: #09498B;
}
.apr-status .apr-status-title span{
	color: #4c4c4c !important;	
}
.apr-status .apr-status-card span{
  display: inline-block;
  font-size: 16px;
  color: rgba(6,106,171,.85);
  margin-bottom: 12px;
}

/* Divider */
.apr-status .apr-status-card hr{
  border: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(6,106,171,.15),
    rgba(6,106,171,.05)
  );
  margin: 12px 0 14px;
}

/* Table */
.apr-status .apr-status-table{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #ffffff;
	border: 1px solid #ccc;
}

.apr-status .apr-status-table thead th{
  background: #ffe2e3;
  font-weight: 700;
  font-size: 15px;
  color: #066aab;
  padding: 12px 14px;
}

.apr-status .apr-status-table td{
  padding: 12px 14px;
  font-size: 15px;
  color: #4c4c4c !important;
  border-top: 1px solid rgba(6,106,171,.12);
}

.apr-status .apr-status-table tbody tr:hover td{
  background: rgba(6,106,171,.04);
}
table tbody>tr:nth-child(odd)>td, table tbody>tr:nth-child(odd)>th {
    background-color: #f9f9f9 !important
}
/* Status emphasis */
.apr-status .apr-status-table td:last-child{
  font-weight: 700;
  text-transform: capitalize;
  color: #066aab;
	text-align: left;
}

/* Responsive */
@media (max-width: 820px){
  .apr-status .container-search-request{
    grid-template-columns: 1fr;
  }

  .apr-status #apr_status_search{
    width: 100%;
  }
}

@media (max-width: 520px){
  .apr-status h3{
    font-size: 24px;
  }

  .apr-status .apr-status-table thead{
    display: none;
  }

  .apr-status .apr-status-table,
  .apr-status .apr-status-table tbody,
  .apr-status .apr-status-table tr,
  .apr-status .apr-status-table td{
    display: block;
    width: 100%;
  }

  .apr-status .apr-status-table tr{
    margin-bottom: 10px;
  }

  .apr-status .apr-status-table td{
    border: 0;
    border-top: 1px solid rgba(6,106,171,.12);
  }
}
