  /* Base */
.cf-card-container {
   background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  margin: 20px auto;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
   border-left: 6px solid #fb7637;
}

.cf-row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 15px;
  gap: 15px;
}

.cf-col {
  flex: 1 1 45%;
}

.cf-label-value {
  
  color: #444;
}

/* Highlight values */
.cf-highlight {
  font-weight: 600;
  color: #fb7637;
}

/* Header */
.cf-header {
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
  padding-bottom: 10px;
}

/* Body layout */
.cf-body {
  padding: 10px 0;
}

.cf-plan-details {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.cf-left-info,
.cf-right-info {
  flex: 1 1 45%;
}

.cf-info-block {
  background: #fdf8f5;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #f2dfdc;
}

.cf-info-row {
  margin-bottom: 10px;
  
}

.cf-label {
  display: inline-block;
  width: 140px;
  color: #555;
}

.cr-mention-warning
{

  background: #f0de34ed;
    padding: 10px 20px;
    border-radius: 20px;
    padding: 10px 15px;
    border-radius: 7px;
    font-weight: bold;
}

.cr-mention-highlight
{

  background: #ff0000;
  color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    padding: 10px 15px;
    border-radius: 7px;
    font-weight: bold;
}

/* Footer */
.cf-footer {
  margin-top: 20px;
  border-top: 1px solid #eee;
  padding-top: 15px;
}

.cf-badge {
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
}

.cf-badge-active {
  background: #27c646;
  color: #fff;
}

.cf-badge-closed {
  background: #ff0000;
  color: #fff;
}

.cf-badge-live {
  background: #fb7637;
  color: #fff;
}

.error-msg{

      background: #db7474;
    color: #ff0000;
    padding: 10px;
    text-align: center;
    display: none;
    width: 100%;
    float: left;
}


/* Responsive */
@media (max-width: 768px) {
  .cf-plan-details {
    flex-direction: column;
  }
  .cf-col {
    flex: 1 1 100%;
  }
  .cf-label {
    width: 120px;
  }
}

/***********Detail**********************/


 .cfd-tab-section {
   padding: 30px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.cfd-section-header {
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.cfd-plan-title,
.cfd-transaction-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: #fb7637;
}

.cfd-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 15px;
  margin-bottom: 40px;
}

.cfd-info-item {
  background: #f9f9f9;
  padding: 12px 15px;
  border-radius: 6px;
  border: 1px solid #eaeaea;
}

.cfd-label {
  font-weight: 500;
  color: #333;
  display: block;
  margin-bottom: 4px;
  font-size: 0.9rem;
}

.cfd-value {
  font-size: 1rem;
  font-weight: 600;
  color: #fb7637;
}

.cfd-transaction-table-wrapper {
  overflow-x: auto;
}

.cfd-transaction-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  
}

.cfd-transaction-table thead th {
  background: #fb7637;
  color: #fff;
  padding: 10px;
  text-align: left;
}

.cfd-transaction-table tbody td {
  padding: 10px;
  border-bottom: 1px solid #f0f0f0;
}

.cfd-total-row td {
  background-color: #fdf4eb;
  font-weight: bold;
  color: #fb7637;
}

/* Responsive */
@media (max-width: 768px) {
  .cfd-info-grid {
    grid-template-columns: 1fr;
  }

  .cfd-transaction-table thead {
    display: none;
  }

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

  .cfd-transaction-table tr {
    margin-bottom: 15px;
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 6px;
  }

  .cfd-transaction-table td {
    text-align: right;
    position: relative;
    padding-left: 50%;
  }

  .btn-red{
    background: #ff0000 !important;
  }

  .cfd-transaction-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 15px;
    top: 10px;
    font-weight: bold;
    color: #555;
  }
}


/***********Detail**********************/

/***********Dues**********************/



/* Table base styling */

.due-section .table-responsive{
  max-height: 400px;
    overflow-y: scroll;
}

.due-section .table {
  background-color: #fff;
  margin-bottom: 0;
  max-height: 400px;

}

.due-section .table > thead > tr > th {
  vertical-align: middle;
  text-align: center;
  background-color: #e9ecef;
  border-color: #ddd;
  font-weight: 600;
}

.due-section .table > tbody > tr > td {
  vertical-align: middle;
  text-align: center;
}

/* Progress bar inside table cell */
.due-section .progress {
  height: 25px;
  margin-bottom: 0;
  background-color: #e9ecef;
  border-radius: 4px;
  overflow: hidden;
}

.due-section .progress-bar {
  line-height: 25px;
  font-weight: 600;
  color: #fff;
}

/* Responsive: horizontal scroll on small devices */
@media (max-width: 767px) {
  .due-section .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
  }

  .due-section .table {
    min-width: 600px; /* Prevent table from shrinking too much */
  }



  /* Keep table rows and cells normal for scroll */
  .due-section .table > tbody > tr {
    display: table-row;
  }

  .due-section .table > tbody > tr > td,
  .due-section .table > thead > tr > th {
    display: table-cell;
    white-space: nowrap; /* Prevent text wrap so horizontal scroll is triggered */
    vertical-align: middle;
  }

  /* Fix width of checkbox column */
  .due-section .table > thead > tr > th:first-child,
  .due-section .table > tbody > tr > td:first-child {
    width: 40px;
  }
}

/* Button styling */
.due-section .amigoways-btn {
    margin-top: 10px;
}


@media (max-width: 768px) {
    .due-section .table > thead, .due-section .table > tbody,.due-section .table > th, .due-section .table > td, .due-section .table > tr {
        display: contents;
        width: 100%;
    }
}




  .scheme-table-sec .table-responsive {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      width: 100%;
    }


/***********Dues**********************/



.amigo_sidebardiv {
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 16px;
  border-radius: 8px;
  max-width: 400px;
  margin: 0 auto;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.amigo_center_heading h4 {
  color: #fb7637;
  text-align: center;
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: bold;
}

/* Table styles */
.pay_dues_summary {
  width: 100%;
}

.summary_detail {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  color: #333;
}

.summary_detail td {
  padding: 10px 0;
}

.summary_detail td:first-child {
  font-weight: 500;
}

.summary_detail .txt_right {
  text-align: right;
  color: #fb7637;
  font-weight: 600;
}

/* Total Payable row */
.summary_detail tr:last-child td {
  border-top: 1px dashed #e0e0e0;
  padding-top: 12px;
  font-size: 17px;
}

.summary_detail tr:last-child b {
  color: #000;
}

/* Responsive Design */
@media (max-width: 600px) {
  .amigo_sidebardiv {
    padding: 12px;
  }

  .summary_detail td {
    font-size: 14px;
    padding: 8px 0;
  }

  .amigo_center_heading h4 {
    font-size: 18px;
  }
}

.mb-25{
      margin-bottom: 25px;
}

.pb-25{
      padding-bottom: 25px;
}



  /* Container Styling */
.chit-modal-container {
    background: #f9f9fc;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', sans-serif;
    max-width: 800px;
    margin: auto;
}

/* Section Title */
.chit-modal-container h3 {
    font-size: 26px;
    color: #2e3b4e;
    margin-bottom: 20px;
    text-align: center;
}

/* Row */
.chit-modal-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

/* Item Box */
.chit-modal-item {
    flex: 1 1 33%;
      box-sizing: border-box;
    text-align: center;
}

/* Labels and Values */
.chit-modal-label {
    font-weight: 600;
    color: #6b7280;
    display: block;
    margin-bottom: 5px;
}

.chit-modal-value {
    font-size: 18px;
    color: #1f2937;
    font-weight: 700;
}

/* Center Text */
.chit-modal-center {
    text-align: center;
}

/* Prompt Text */
.chit-modal-prompt {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0 10px;
    color: #4b5563;
}

/* Button Styles */
.chit-modal-btn {
    display: inline-block;
        padding: 12px 20px;
    margin: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chit-modal-btn.yes {
    background-color: #16a34a;
    color: white;
}

.chit-modal-btn.yes:hover {
    background-color: #15803d;
}

.chit-modal-btn.no {
    background-color: #dc2626;
    color: white;
}

.chit-modal-btn.no:hover {
    background-color: #b91c1c;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .chit-modal-item {
        flex: 1 1 100%;
    }

    .chit-modal-btn {
        width: 100%;
        margin: 10px 0;
    }
}


/**************Payment Success****************/
   .chit-payment-success-container {
      text-align: center;
      background-color: #ffffff;
      padding: 40px 30px;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .chit-payment-success-container .icon {
      font-size: 60px;
      color: #28a745;
      margin-bottom: 20px;
    }

    .chit-payment-success-container h1 {
      color: #333333;
      margin-bottom: 10px;
    }

    .chit-payment-success-container p {
      color: #555555;
      font-size: 16px;
    }

    /**************Payment Success****************/


/**************Payment Failed****************/
.chit-payment-failed-container {
      text-align: center;
      background-color: #ffffff;
      padding: 40px 30px;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .chit-payment-failed-container .icon {
      font-size: 60px;
      color: #dc3545;
      margin-bottom: 20px;
    }

    .chit-payment-failed-container h1 {
      color: #b02a37;
      margin-bottom: 10px;
    }

    .chit-payment-failed-container p {
      color: #555555;
      font-size: 16px;
    }

/**************Payment Failed****************/


.file-upload-wrapper .uploader, .file-upload-wrapper input[type="file"]{
  display: none;
}