@import url('https://fonts.googleapis.com/icon?family=Material+Icons+Sharp');
*{
  font-family: 'Roboto', sans-serif;

}
.header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}
.header-bar{
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}
.logo{
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-img{ height: 30px; }
.menu-btn{ color: #d00; cursor: pointer; }

.side-bar{
  position: fixed;
  top: 50px;
  left: 0;
  width: 200px;
  height: 100%;
  background-color: rgba(29, 29, 39, 0.94);
  color: white;
  overflow: scroll;
  scrollbar-width: none;
  text-wrap: nowrap;
  z-index: 900;
  align-content: start;
}

.search-bar{
  background-color: white;
  height: 30px;
  border: 1px solid #ccc;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

}

.search{
  position: absolute;
  top: 5px;
  left: 5px;
  width: 140px;
  height: 10px;
  padding: 5px;
  font-size: 16px;
  background-color: #fff;
  border: 1px solid #ddd;


}

.right-side{
  display: flex;
  align-items: center;
  gap: 10px;
}
.issuer-icon{ width: 30px; height: 30px; border-radius: 50%;  cursor: pointer;}
.switch-icon{ width: 30px; height: 30px; border-radius: 50%; cursor: pointer; }
.actives{ border: 2px dashed #146;}
.profile{
  display: flex;
  align-items: center;
  color: #146;
  cursor: pointer;

}

.profile:hover{
  background-color: #85a4bf;
  text-decoration: none;
  height: 100%;
}

.subheader{
  position: absolute;
  left: 200px;
  top: 50px;
  width: 90%;
  height: 32px;
  background-color: #092365;
  color: white;
  text-align: left;
  padding-left: 10px;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  z-index: 900;
}

.drop{
  flex: 1;
  padding-top: 10px;
  color: white;
  text-align: left;
  padding-left: 10px;
}


.side-bar .drop ul {
  display: none;
  list-style: none;
  padding-left: -10px;
  margin: 5px 0;
}


.side-bar .drop.active ul {
  display: block;
}


.side-bar .drop > a {
  display: block;
  padding: 10px;
  color: white;
  text-decoration: none;
  cursor: pointer;
}

.side-bar .drop > a:hover {
  background-color: #333;
}


.side-bar .drop ul li {
  padding: 6px 10px;
  cursor: pointer;
}
.side-bar .drop ul li:hover {
  background-color: #444;
}

.issuer-front{
  position: fixed;
  margin-top: 72px;
  margin-left: 191px;
  width: 100%;
  height: 100%;
}

.customer-details {
  position: absolute;
  top: 20px;
  left: 210px;
  display: flex;
  justify-content: space-between;
  gap: 50px;
  margin-top: 85px;
}

.left-details,
.right-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.field {
  display: flex;
  align-items: center;
  gap: 10px;
}

.field label {
  width: 120px;
  text-align: right;
  font-size: 12px;
  font-weight: 500;
  color: #888888;
  white-space: nowrap;
}

.card-numbers{
  width: 600px;
  height: 25px;
  padding: 5px 10px;
  font-size: 16px;
  font-weight: 500;
  border: 1px solid #504f4f;
  background-color: #ffffff;
}

.card-number {
  width: 600px;
  height: 25px;
  padding: 5px 10px;
  font-size: 16px;
  font-weight: 500;
  border: 1px solid #ff0000;
  background-color: #fffad6;
}

.action-btn {
  position: absolute;
  top: 280px;
  right: 10px;
  display: flex;
  gap: 10px;
}

.search-btn
{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: white;
  background-color: #092365;
  border: none;
  font-size: 16px;
  width: 120px;
  height: 35px;
  cursor: pointer;
  border-radius: 2px;
  padding: 0 10px;
}
.search-btn.inactive {
  pointer-events: none;
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #666;
}
.client-details table {
  position: absolute;
  top: 330px;
  left: 200px;
  border-collapse: collapse;
  width: 90%;
  table-layout: fixed;
}

.client-details th,
.client-details td {
  border: 1px solid #ccc;
  padding: 12px 20px;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  background-color: #ffffff;
}


.client-details tr {
  display: table-row;
}

.client-details th {
  background-color: #d5d5d5;
  font-weight: 600;
}


.collapsible-row {
  cursor: pointer;
  background-color: #f9f9f9;
}

.collapsible-row:hover {
  background-color: #eaeaea;
}

.detail-row {
  display: none;
  height: 2000px;
}

.detail-row.show {
  display: table-row;
}

.collapsible-content {
  padding: 20px;
  background-color: #ffffff;
  min-height: 200px;
  width: 100%;
  box-sizing: border-box;
}



.detail-container {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
}

.detail-container .left-details,
.detail-container .right-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.detail-field {
  display: flex;
  align-items: center;
}

.detail-field label {
  width: 150px;
  text-align: right;
  font-weight: 500;
  color: #555;
  margin-right: 15px;
}

.detail-field input {
  flex: 1;
  padding: 8px;
  border: 1px solid #ddd;
  background-color: #fff;
}

.expand-icon {
  transition: transform 0.3s ease;
}

.expand-icon.rotated {
  transform: rotate(180deg);
}

/* Error message */
.error-message {
  position: absolute;
  top: 290px;
  left: 200px;
  width: calc(100% - 200px);
  height: 40px;
  background-color: #ff0000;
  color: white;
  display: none;
  align-items: center;
  padding-left: 12px;
  font-size: 16px;
}


.customer-detail-container{
  position: relative;
  top: -20px;
  left: 10px;
  width: 90%;
  height: 94%;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.payment-section{
  position: absolute;
  top: 5px;
  left: -30px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  border: 1px solid #ccc;
  width: 113%;
  cursor: pointer;
}

.accounts-section{
  position: absolute;
  top: 200px;
  left: -30px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  border: 1px solid #ccc;
  width: 113%;
  height: 50px;
  cursor: pointer;
}

.customer-view{
  position: absolute;
  top: 180px;
  left: 300px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  border: 1px solid #ccc;
}

.ps-pan-summary{
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ps-row{
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}
.ps-panel{
  border: 1px solid #c7d0e1;
  background: #fff;
}
.ps-panel--wide{
  grid-column: 1 / -1;
}
.ps-panel__title{
  background: #0b2a63;
  color: #fff;
  font-weight: 600;
  padding: 6px 10px;
  font-size: 14px;
  letter-spacing: .2px;
}
.ps-panel__body{
  padding: 10px;
}
.ps-field{
  display: grid;
  grid-template-columns: 170px 1fr 70px;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.ps-label{
  color: #2f2f2f;
}
.ps-value{
  background: #eee;
  border: 1px solid #d5d5d5;
  min-height: 28px;
  display: flex;
  align-items: center;
  padding: 4px 8px;
}
.ps-value--short{
  width: 90px;
  justify-content: flex-end;
}
.ps-small{
  background: #e9ecef;
  border: 1px solid #cfcfcf;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
  width: 60px;
}
.ps-note{
  grid-column: 1 / 2;
  color: #666;
}
.ps-checkbox input{
  width: 16px;
  height: 16px;
}
.ps-auth{
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ps-auth__row{
  display: grid;
  grid-template-columns: 1fr 110px 70px 24px;
  align-items: center;
  gap: 8px;
}
.ps-fees{
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ps-fees__row{
  display: grid;
  grid-template-columns: 170px 110px 70px 170px 1fr;
  align-items: center;
  gap: 8px;
}
/* reuse info dot visuals */
.info-dot{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0b5ed7;
  color: #fff;
  font-size: 12px;
}

.as-wrapper{ display:flex; flex-direction:column; gap:14px; }
.as-section{ border:1px solid #c7d0e1; background:#fff; }
.as-title{ background:#0b2a63; color:#fff; font-weight:600; padding:6px 10px; font-size:14px; }
.as-grid{ display:grid; grid-template-columns: 1fr 1fr; gap:6px 10px; padding:10px; }
.as-grid--four{ grid-template-columns: repeat(4, 1fr); }
.as-field{ display:grid; grid-template-columns: 180px 1fr 60px; align-items:center; }
.as-label{ color:#2f2f2f; }
.as-value{ background:#eee; border:1px solid #d5d5d5; min-height:26px; display:flex; align-items:center; padding:4px 8px; }
.as-suffix{ background:#e9ecef; border:1px solid #cfcfcf; min-height:24px; display:flex; align-items:center; justify-content:center; }
.as-table{ width:100%; border-collapse:collapse; }
.as-table th, .as-table td{ border:1px solid #ddd; padding:8px 10px; text-align:left; }
.as-table thead th{ background:#e8e8e8; }

/* Account Financials */
.af-wrapper{ display:flex; flex-direction:column; gap:14px; }
.af-grid{ display:flex; flex-direction:column; gap:6px; padding:10px; }
.af-row{ display:grid; grid-template-columns: 200px 120px 60px 60px 20px 220px 120px 60px 60px 1fr; align-items:center; gap:6px; }
.af-label{ color:#2f2f2f; }
.af-value{ background:#eee; border:1px solid #d5d5d5; min-height:26px; display:flex; align-items:center; justify-content:flex-end; padding:4px 8px; }
.af-suffix{ background:#e9ecef; border:1px solid #cfcfcf; min-height:24px; display:flex; align-items:center; justify-content:center; }
.af-polarity{ background:#efefef; border:1px solid #d8d8d8; min-height:24px; display:flex; align-items:center; justify-content:center; }
.af-equals{ text-align:center; font-weight:700; }
.af-actions{ display:flex; gap:6px; justify-content:flex-end; }
.af-btn{ background:#0b2a63; color:#fff; border:none; padding:4px 8px; cursor:pointer; }
.af-colspan{ grid-column: 6 / -1; }
.af-breakdown{ display:flex; flex-direction:column; gap:4px; }
.af-break{ display:grid; grid-template-columns: 220px 120px 60px 60px; align-items:center; gap:6px; }
.af-sub{ color:#444; }
.af-subv{ background:#eee; border:1px solid #d5d5d5; min-height:24px; display:flex; align-items:center; justify-content:flex-end; padding:2px 6px; }

.styleds-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 14px;
  margin: 20px 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border-radius: 8px;
  overflow: hidden;
}

.styleds-table thead {
  background-color: #f1f1f1;
  color: #000;
  text-align: left;
}

.styleds-table thead th {
  padding: 12px 20px;
  font-weight: 600;
  border: 1px solid #ddd;
}

.styleds-table tbody td {
  padding: 12px 20px;
  border: 1px solid #ddd;
}

.styleds-table tbody tr {
  transition: background-color 0.3s ease;
}

.styleds-table tbody tr:nth-child(even) {
  background-color: #fafafa;
}

.styleds-table tbody tr:hover {
  background-color: #cce0ff;
  cursor: pointer;
}

.styleds-table tbody tr.selected {
  background-color: #001f4d;
  color: #fff;
}

.styleds-table th:last-child,
.styleds-table td:last-child {
  text-align: center;
  width: 50px;
}

.material-icons-sharp {
  font-size: 20px;
  color: #333;
}

/* Responsive */
@media (max-width: 900px) {
  .styled-table thead {
    display: none;
  }
  .styled-table,
  .styled-table tbody,
  .styled-table tr,
  .styled-table td {
    display: block;
    width: 80%;
  }
  .styled-table tbody tr {
    margin-bottom: 15px;
    border-bottom: 2px solid #ddd;
  }
  .styled-table td {
    text-align: right;
    padding-left: 50%;
    position: relative;
  }
  .styled-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 15px;
    width: calc(50% - 20px);
    text-align: left;
    font-weight: 600;
  }
}

.info-dot{
  cursor: pointer;
}

.nested-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: -239px;
  margin-left: -190px ;
  background: #f9f9f9;
}

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

.collapse-row td {
  padding: 0;
  background: #f2f6fc;
  cursor: pointer;
}



.clear-btn{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding-top: -20px;
  color: #fff;
  background-color: #092365;
  border: none;
  font-size: 16px;
  width: 120px;
  height: 35px;
  cursor: pointer;
  border-radius: 2px;

}
.clear-btn .material-icons-sharp, .clear .material-icons-sharp { font-size: 20px; }



