  .dvvis-attestation * {
      box-sizing: border-box;
    }

    .dvvis-attestation-body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      line-height: 1.6;
      color: #333;
      background-color: #f8f9fa;
      margin: 0;
      padding: 0;
    }

    .dvvis-attestation-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    .dvvis-attestation-header {
      background-color: #fff;
      border-bottom: 1px solid #e0e0e0;
      padding: 15px 0;
      position: sticky;
      top: 0;
      z-index: 100;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .dvvis-attestation-header-content {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .dvvis-attestation-logo {
      height: 60px;
      width: auto;
    }

    .dvvis-attestation-header-title {
      color: #004700;
      font-size: 18px;
      font-weight: 600;
      margin-left: 15px;
    }

    .dvvis-attestation-main-content {
      padding: 30px 0;
    }

    .dvvis-attestation-header-section {
      background-color: #fff;
      border-radius: 8px;
      padding: 25px;
      margin-bottom: 25px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
      border-left: 4px solid #004700;
    }

    .dvvis-attestation-meta {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      margin-bottom: 20px;
    }

    .dvvis-attestation-meta-item {
      display: flex;
      flex-direction: column;
    }

    .dvvis-attestation-meta-label {
      font-size: 12px;
      color: #666;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-bottom: 5px;
      font-weight: 600;
    }

    .dvvis-attestation-meta-value {
      font-size: 16px;
      color: #333;
      font-weight: 600;
    }

    .dvvis-attestation-timestamp {
      background-color: #f0f8f0;
      padding: 15px;
      border-radius: 6px;
      border: 1px solid #d4edda;
      margin-top: 20px;
    }

    .dvvis-attestation-document {
      background-color: #fff;
      border-radius: 8px;
      padding: 40px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
      margin-bottom: 25px;
      min-height: 800px;
    }

    .dvvis-attestation-doc-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      margin-bottom: 40px;
      border-bottom: 2px solid #004700;
      padding-bottom: 25px;
    }

    .dvvis-attestation-doc-logo {
      height: 100px;
      width: auto;
    }

    .dvvis-attestation-doc-title-section {
      text-align: right;
      flex: 1;
      margin-left: 20px;
    }

    .dvvis-attestation-doc-title {
      color: #004700;
      font-size: 26px;
      font-weight: bold;
      margin-bottom: 10px;
      line-height: 1.2;
    }

    .dvvis-attestation-doc-address {
      color: #666;
      font-size: 14px;
      line-height: 1.4;
    }

    .dvvis-attestation-letter-content {
      font-size: 15px;
      line-height: 1.8;
      color: #333;
      margin-bottom: 40px;
    }

    .dvvis-attestation-letter-date {
      text-align: right;
      margin-bottom: 30px;
      font-size: 14px;
      color: #666;
    }

    .dvvis-attestation-letter-subject {
      background-color: #f8f9fa;
      padding: 15px;
      border-radius: 6px;
      border-left: 4px solid #004700;
      margin: 30px 0;
      font-weight: 600;
    }

    .dvvis-attestation-letter-greeting {
      margin-bottom: 25px;
      font-size: 16px;
    }

    .dvvis-attestation-letter-body {
      text-align: justify;
      margin-bottom: 30px;
    }

    .dvvis-attestation-letter-paragraph {
      margin-bottom: 20px;
    }

    .dvvis-attestation-details-table {
      width: 100%;
      border-collapse: collapse;
      margin: 30px 0;
      background-color: #f8f9fa;
      border-radius: 8px;
      overflow: hidden;
    }

    .dvvis-attestation-details-table th,
    .dvvis-attestation-details-table td {
      padding: 12px 15px;
      text-align: left;
      border-bottom: 1px solid #dee2e6;
    }

    .dvvis-attestation-details-table th {
      background-color: #004700;
      color: white;
      font-weight: 600;
    }

    .dvvis-attestation-details-table tr:last-child td {
      border-bottom: none;
    }

    .dvvis-attestation-status-badge {
      background-color: #28a745;
      color: white;
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 12px;
      font-weight: 600;
      text-transform: uppercase;
    }

    .dvvis-attestation-footer-section {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      margin-top: 60px;
      padding-top: 30px;
      border-top: 1px solid #dee2e6;
    }

    .dvvis-attestation-signature-section {
      text-align: left;
      flex: 1;
      margin-right: 40px;
    }

    .dvvis-attestation-signature-line {
      border-bottom: 1px solid #666;
      width: 250px;
      margin: 30px 0 10px 0;
    }

    .dvvis-attestation-signature-text {
      font-size: 12px;
      color: #666;
    }

    .dvvis-attestation-qr-section {
      text-align: center;
    }

    .dvvis-attestation-qr-code {
      width: 120px;
      height: 120px;
      border: 2px solid #004700;
      border-radius: 8px;
      margin-bottom: 10px;
      background-color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 10px;
      color: #666;
      text-align: center;
      padding: 5px;
    }

    .dvvis-attestation-qr-text {
      font-size: 12px;
      color: #666;
      margin-bottom: 5px;
    }

    .dvvis-attestation-qr-url {
      font-size: 10px;
      color: #004700;
      font-weight: 600;
      word-break: break-all;
    }

    .dvvis-attestation-ref-number {
      background-color: #e9ecef;
      padding: 15px;
      border-radius: 6px;
      margin-top: 20px;
      text-align: center;
    }

    .dvvis-attestation-ref-label {
      font-size: 12px;
      color: #666;
      margin-bottom: 5px;
    }

    .dvvis-attestation-ref-value {
      font-size: 18px;
      color: #004700;
      font-weight: bold;
      letter-spacing: 1px;
    }

    .dvvis-attestation-print-btn {
      position: fixed;
      bottom: 30px;
      right: 30px;
      background-color: #004700;
      color: white;
      border: none;
      border-radius: 50px;
      padding: 15px 25px;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      box-shadow: 0 4px 15px rgba(0,0,0,0.2);
      transition: all 0.3s ease;
      z-index: 1000;
    }

    .dvvis-attestation-print-btn:hover {
      background-color: #006600;
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    }

    .dvvis-attestation-seal {
      width: 80px;
      height: 80px;
      border-radius: 50%;
      background: linear-gradient(45deg, #004700, #006600);
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-weight: bold;
      font-size: 12px;
      text-align: center;
      margin: 20px auto;
      position: relative;
    }

    .dvvis-attestation-seal::before {
      content: '';
      position: absolute;
      width: 90px;
      height: 90px;
      border: 2px solid #004700;
      border-radius: 50%;
      top: -7px;
      left: -7px;
    }

    /* Mobile Responsiveness */
    @media (max-width: 768px) {
      .dvvis-attestation-container {
        padding: 0 15px;
      }

      .dvvis-attestation-header-content {
        flex-direction: column;
        text-align: center;
      }

      .dvvis-attestation-header-title {
        margin-left: 0;
        margin-top: 10px;
        font-size: 16px;
      }

      .dvvis-attestation-meta {
        grid-template-columns: 1fr;
        gap: 15px;
      }

      .dvvis-attestation-document {
        padding: 25px;
      }

      .dvvis-attestation-doc-header {
        flex-direction: column;
        text-align: center;
      }

      .dvvis-attestation-doc-title-section {
        margin-left: 0;
        margin-top: 15px;
        text-align: center;
      }

      .dvvis-attestation-doc-title {
        font-size: 22px;
      }

      .dvvis-attestation-footer-section {
        flex-direction: column;
        align-items: center;
        gap: 30px;
      }

      .dvvis-attestation-signature-section {
        margin-right: 0;
        text-align: center;
      }

      .dvvis-attestation-signature-line {
        margin: 20px auto 10px;
      }

      .dvvis-attestation-letter-date {
        text-align: left;
      }

      .dvvis-attestation-details-table {
        font-size: 14px;
      }

      .dvvis-attestation-details-table th,
      .dvvis-attestation-details-table td {
        padding: 10px 8px;
      }

      .dvvis-attestation-print-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 14px;
      }
    }

    @media (max-width: 480px) {
      .dvvis-attestation-document {
        padding: 15px;
      }

      .dvvis-attestation-doc-title {
        font-size: 18px;
      }

      .dvvis-attestation-letter-content {
        font-size: 14px;
      }

      .dvvis-attestation-qr-code {
        width: 100px;
        height: 100px;
      }
    }

    @media print {
      .dvvis-attestation-print-btn {
        display: none;
      }
      
      .dvvis-attestation-header {
        position: static;
      }
      
      .dvvis-attestation-body {
        background-color: white;
      }
    }
 .dvvis-report * {
      box-sizing: border-box;
    }

    .dvvis-report-body {
     
      line-height: 1.6;
      color: #333;
      background-color: #fff;
      margin: 0;
      padding: 0;
    }

    .dvvis-report-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    .dvvis-report-header {
      background-color: #fff;
      border-bottom: 1px solid #e0e0e0;
      padding: 15px 0;
      position: sticky;
      top: 0;
      z-index: 100;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .dvvis-report-header-content {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .dvvis-report-logo {
      height: 60px;
      width: auto;
    }

    .dvvis-report-header-title {
      color: #004700;
      font-size: 18px;
      font-weight: 600;
      margin-left: 15px;
    }

    .dvvis-report-main-content {
      padding: 30px 0;
    }

    .dvvis-report-header-section {
      background-color: #fff;
      border-radius: 8px;
      padding: 25px;
      margin-bottom: 25px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
      border-left: 4px solid #004700;
    }

    .dvvis-report-meta {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      margin-bottom: 20px;
    }

    .dvvis-report-meta-item {
      display: flex;
      flex-direction: column;
    }

    .dvvis-report-meta-label {
      font-size: 12px;
      color: #666;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-bottom: 5px;
      font-weight: 600;
    }

    .dvvis-report-meta-value {
      font-size: 16px;
      color: #333;
      font-weight: 600;
    }

    .dvvis-report-timestamp {
      background-color: #f0f8f0;
      padding: 15px;
      border-radius: 6px;
      border: 1px solid #d4edda;
      margin-top: 20px;
    }

    .dvvis-report-document {
      background-color: #fff;
      border-radius: 8px;
      padding: 30px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
      margin-bottom: 25px;
    }

    .dvvis-report-doc-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      margin-bottom: 30px;
      border-bottom: 2px solid #004700;
      padding-bottom: 20px;
    }

    .dvvis-report-doc-logo {
      height: 80px;
      width: auto;
    }

    .dvvis-report-doc-title-section {
      text-align: right;
      flex: 1;
      margin-left: 20px;
    }

    .dvvis-report-doc-title {
      color: #004700;
      font-size: 24px;
      font-weight: bold;
      margin-bottom: 10px;
      line-height: 1.2;
    }

    .dvvis-report-doc-address {
      color: #666;
      font-size: 14px;
      line-height: 1.4;
    }

    .dvvis-report-details-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 30px;
      margin-bottom: 30px;
    }

    .dvvis-report-details-section {
      background-color: #f8f9fa;
      padding: 20px;
      border-radius: 6px;
      border: 1px solid #e9ecef;
    }

    .dvvis-report-section-title {
      color: #004700;
      font-size: 16px;
      font-weight: bold;
      margin-bottom: 15px;
      padding-bottom: 8px;
      border-bottom: 1px solid #dee2e6;
    }

    .dvvis-report-detail-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 12px;
      padding: 8px 0;
    }

    .dvvis-report-detail-row:last-child {
      margin-bottom: 0;
    }

    .dvvis-report-detail-label {
      font-size: 14px;
      color: #666;
      font-weight: 500;
    }

    .dvvis-report-detail-value {
      font-size: 14px;
      color: #333;
      font-weight: 600;
      text-align: right;
      max-width: 60%;
    }

    .dvvis-report-status-section {
      background-color: #f0f8f0;
      border: 2px solid #28a745;
      border-radius: 8px;
      padding: 20px;
      margin: 30px 0;
      text-align: center;
    }

    .dvvis-report-status-title {
      color: #155724;
      font-size: 20px;
      font-weight: bold;
      margin-bottom: 10px;
    }

    .dvvis-report-status-desc {
      color: #155724;
      font-size: 16px;
      line-height: 1.5;
    }

    .dvvis-report-footer-section {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      margin-top: 40px;
      padding-top: 20px;
      border-top: 1px solid #dee2e6;
    }

    .dvvis-report-qr-section {
      text-align: center;
    }

    .dvvis-report-qr-code {
      width: 120px;
      height: 120px;
      border: 2px solid #004700;
      border-radius: 8px;
      margin-bottom: 10px;
      background-color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 10px;
      color: #666;
      text-align: center;
      padding: 5px;
    }

    .dvvis-report-qr-text {
      font-size: 12px;
      color: #666;
      margin-bottom: 5px;
    }

    .dvvis-report-qr-url {
      font-size: 10px;
      color: #004700;
      font-weight: 600;
      word-break: break-all;
    }

    .dvvis-report-signature-section {
      text-align: right;
      flex: 1;
      margin-right: 20px;
    }

    .dvvis-report-signature-line {
      border-bottom: 1px solid #666;
      width: 200px;
      margin: 20px 0 10px auto;
    }

    .dvvis-report-signature-text {
      font-size: 12px;
      color: #666;
      text-align: center;
    }

    .dvvis-report-ref-number {
      background-color: #e9ecef;
      padding: 15px;
      border-radius: 6px;
      margin-top: 20px;
      text-align: center;
    }

    .dvvis-report-ref-label {
      font-size: 12px;
      color: #666;
      margin-bottom: 5px;
    }

    .dvvis-report-ref-value {
      font-size: 18px;
      color: #004700;
      font-weight: bold;
      letter-spacing: 1px;
    }

    .dvvis-report-print-btn {
      position: fixed;
      bottom: 30px;
      right: 30px;
      background-color: #004700;
      color: white;
      border: none;
      border-radius: 50px;
      padding: 15px 25px;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      box-shadow: 0 4px 15px rgba(0,0,0,0.2);
      transition: all 0.3s ease;
      z-index: 1000;
    }

    .dvvis-report-print-btn:hover {
      background-color: #006600;
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    }

    /* Mobile Responsiveness */
    @media (max-width: 768px) {
      .dvvis-report-container {
        padding: 0 15px;
      }

      .dvvis-report-header-content {
        flex-direction: column;
        text-align: center;
      }

      .dvvis-report-header-title {
        margin-left: 0;
        margin-top: 10px;
        font-size: 16px;
      }

      .dvvis-report-meta {
        grid-template-columns: 1fr;
        gap: 15px;
      }

      .dvvis-report-doc-header {
        flex-direction: column;
        text-align: center;
      }

      .dvvis-report-doc-title-section {
        margin-left: 0;
        margin-top: 15px;
        text-align: center;
      }

      .dvvis-report-doc-title {
        font-size: 20px;
      }

      .dvvis-report-details-grid {
        grid-template-columns: 1fr;
        gap: 20px;
      }

      .dvvis-report-detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
      }

      .dvvis-report-detail-value {
        text-align: left;
        max-width: 100%;
      }

      .dvvis-report-footer-section {
        flex-direction: column;
        align-items: center;
        gap: 30px;
      }

      .dvvis-report-signature-section {
        margin-right: 0;
        text-align: center;
      }

      .dvvis-report-signature-line {
        margin: 20px auto 10px;
      }

      .dvvis-report-print-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 14px;
      }
    }

    @media (max-width: 480px) {
      .dvvis-report-document {
        padding: 20px;
      }

      .dvvis-report-doc-title {
        font-size: 18px;
      }

      .dvvis-report-qr-code {
        width: 100px;
        height: 100px;
      }
    }

    @media print {
      .dvvis-report-print-btn {
        display: none;
      }
      
      .dvvis-report-header {
        position: static;
      }
      
      .dvvis-report-body {
        background-color: white;
      }
    }
/* DVVIS transaction Styles */
     .transaction-details-widget * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        .transaction-details-widget {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            max-width: 600px;
            margin: 20px auto;
            padding: 20px;
        }

        .transaction-details-widget .details-card {
            background: white;
            border-radius: 16px;
            padding: 32px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            border: 1px solid #e9ecef;
        }

        .transaction-details-widget .merchant-section {
            display: flex;
            align-items: center;
            margin-bottom: 32px;
            padding-bottom: 24px;
            border-bottom: 1px solid #e9ecef;
        }

        .transaction-details-widget .merchant-icon {
            width: 64px;
            height: 64px;
            background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 16px;
            flex-shrink: 0;
        }

        .transaction-details-widget .merchant-icon svg {
            width: 32px;
            height: 32px;
            fill: white;
        }

        .transaction-details-widget .merchant-info {
            flex: 1;
        }

        .transaction-details-widget .merchant-info h3 {
            font-size: 14px;
            margin-left: 24px;
            color: #666;
             text-align: right;
            flex: 1;
           
        }

        .transaction-details-widget .merchant-info .merchant-id {
            font-size: 18px;
            color: #333;
            font-weight: 600;
            margin-left: 24px;
             text-align: right;
            flex: 1;
        }

        .transaction-details-widget .heart-icon {
            margin-left: auto;
            background: none;
            border: none;
            cursor: pointer;
            padding: 12px;
            border-radius: 50%;
            transition: background-color 0.2s;
            flex-shrink: 0;
        }

        .transaction-details-widget .heart-icon:hover {
            background-color: #f8f9fa;
        }

        .transaction-details-widget .heart-icon.favorited svg {
            fill: #dc3545;
            stroke: #dc3545;
        }

        .transaction-details-widget .detail-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding: 16px 0;
            border-bottom: 1px solid #f8f9fa;
        }

        .transaction-details-widget .detail-row:last-child {
            margin-bottom: 0;
            border-bottom: none;
        }

        .transaction-details-widget .detail-label {
            color: #888;
            font-size: 14px;
            font-weight: 500;
        }

        .transaction-details-widget .detail-value {
            color: #333;
            font-size: 16px;
            font-weight: 600;
            text-align: right;
            flex: 1;
            margin-left: 24px;
        }

        .transaction-details-widget .payment-method {
            display: flex;
            align-items: center;
        }

        .transaction-details-widget .payment-icon {
            width: 32px;
            height: 32px;
            background: #17a2b8;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 12px;
            flex-shrink: 0;
        }

        .transaction-details-widget .payment-icon svg {
            width: 18px;
            height: 18px;
            fill: white;
        }

        .transaction-details-widget .reason-icon {
            display: flex;
            align-items: center;
        }

        .transaction-details-widget .reason-icon-bg {
            width: 32px;
            height: 32px;
            background: #6c757d;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 12px;
            flex-shrink: 0;
        }

        .transaction-details-widget .reason-icon-bg svg {
            width: 16px;
            height: 16px;
            fill: white;
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            .transaction-details-widget .details-card {
                padding: 24px 20px;
            }

            .transaction-details-widget .merchant-section {
                margin-bottom: 24px;
                padding-bottom: 20px;
            }

            .transaction-details-widget .merchant-icon {
                width: 48px;
                height: 48px;
                margin-right: 12px;
            }

            .transaction-details-widget .merchant-icon svg {
                width: 24px;
                height: 24px;
            }

            .transaction-details-widget .merchant-info h3 {
                font-size: 12px;
            }

            .transaction-details-widget .merchant-info .merchant-id {
                font-size: 12px;
            }

            .transaction-details-widget .detail-row {
                margin-bottom: 16px;
                padding: 12px 0;
            }

            .transaction-details-widget .detail-label,
            .transaction-details-widget .detail-value {
                font-size: 12px;
            }

            .transaction-details-widget .detail-value {
                margin-left: 16px;
            }
        }

        @media (max-width: 480px) {
            .transaction-details-widget {
                padding: 16px;
            }

            .transaction-details-widget .details-card {
                padding: 20px 16px;
            }

            .transaction-details-widget .merchant-info h3 {
                font-size: 12px;
            }

            .transaction-details-widget .merchant-info .merchant-id {
                font-size: 12px;
            }

            .transaction-details-widget .detail-label,
            .transaction-details-widget .detail-value {
                font-size: 12px;
            }

            /* Stack detail rows on very small screens */
            .transaction-details-widget .detail-row {
                flex-direction: column;
                align-items: flex-start;
                gap: 8px;
            }

            .transaction-details-widget .detail-value {
                margin-left: 0;
                text-align: left;
            }
        }
.total-amount-widget-failed .total-section {
    background: linear-gradient(135deg, #ffe6e6 0%, #fff0f0 100%);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    border: 1px solid #ffe0e0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 20px auto;
}

.total-amount-widget-failed .total-label {
    color: #dc3545;
    font-size: 12px;
    margin-bottom: 12px;
    font-weight: 500;
}

.total-amount-widget-failed  .total-amount {
    color: #dc3545;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

.total-amount-widget-failed  .status-badge {
    background: #dc3545;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.total-amount-widget-pending .total-section {
    background: linear-gradient(to right top, #f6f6f0, #ede6bc, #ebd288, #eebc54, #f4a218);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    border: 1px solid #ffe0e0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 20px auto;
}

.total-amount-widget-pending .total-label {
    color: #AD6E02;
    font-size: 12px;
    margin-bottom: 12px;
    font-weight: 500;
}

.total-amount-widget-pending  .total-amount {
    color: #AD6E02;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

.total-amount-widget-pending  .status-badge {
    background: #AD6E02;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.total-amount-widget-successful .total-section {
    background: linear-gradient(to right top, #d4edda, #a8d5ba, #7cb799, #4f9a78, #228B22);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    border: 1px solid #c3e6cb;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 20px auto;
}

.total-amount-widget-successful .total-label {
    color: #fff;
    font-size: 12px;
    margin-bottom: 12px;
    font-weight: 500;
}

.total-amount-widget-successful .total-amount {
    color: #155724;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

.total-amount-widget-successful .status-badge {
    background: #228B22;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}



/* Modal Overlay */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  backdrop-filter: blur(3px);
}

.modal-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Modal Container */
.modal-container {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  padding: 30px;
  max-width: 450px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Modal Close Button */
.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  color: #666;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #f0f0f0;
  color: #333;
}

/* Modal Title */
.modal-title {
  font-size: 22px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
  text-align: center;
  padding-right: 30px;
}

.modal-subtitle {
  color: #666;
  font-size: 14px;
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.4;
}

/* Modal Form Groups */
.modal-form-group {
  margin-bottom: 20px;
}

.modal-form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
  font-size: 14px;
}

.modal-form-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #fafafa;
  box-sizing: border-box;
}

.modal-form-input:focus {
  outline: none;
  border-color: #004700;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 71, 0, 0.1);
}

.modal-info-text {
  font-size: 11px;
  color: maroon;
  margin-top: 4px;
  font-style: italic;
}

/* Modal Buttons */
.modal-btn-container {
  display: flex;
  gap: 10px;
  margin-top: 25px;
}

.modal-retrieve-btn {
  flex: 1;
  background: linear-gradient(135deg, #004700 0%, #006600 100%);
  color: white;
  padding: 14px 20px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 71, 0, 0.3);
}

.modal-retrieve-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(0, 71, 0, 0.4);
}

.modal-cancel-btn {
  flex: 0.4;
  background: #f8f9fa;
  color: #666;
  padding: 14px 20px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-cancel-btn:hover {
  background: #e9ecef;
  color: #333;
}

/* Responsive Modal */
@media (max-width: 480px) {
  .modal-container {
    padding: 20px;
    margin: 10px;
  }
  
  .modal-title {
    font-size: 20px;
  }
  
  .modal-btn-container {
    flex-direction: column;
  }
  
  .modal-cancel-btn {
    flex: 1;
  }
}
/* DVVIS Form Styles */

.form-container {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  padding: 40px;
  margin: 40px auto;
  max-width: 600px;
}

.form-group {
  margin-bottom: 25px;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
  font-size: 18px;
}

.form-input {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: #fafafa;
}

.form-input:focus {
  outline: none;
  border-color: #004700;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 71, 0, 0.1);
}

.momo-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
  margin-top: 10px;
}

.momo-option {
  position: relative;
  cursor: pointer;
}

.momo-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.momo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 15px;
  border: 3px solid #e0e0e0;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  min-height: 120px;
  justify-content: center;
}

.momo-option input[type="radio"]:checked + .momo-card {
  border-color: #004700;
  background: linear-gradient(135deg, #f0f8f0 0%, #ffffff 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 71, 0, 0.15);
}

.momo-logo {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
  border-radius: 8px;
  object-fit: contain;
}

.momo-name {
  font-weight: 600;
  font-size: 13px;
  text-align: center;
  color: #333;
}

.mtm-logo {
  background: #FFCC00;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 12px;
}

.vodafone-logo {
  background: #E60000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 12px;
}

.airteltigo-logo {
  background: linear-gradient(45deg, #ED1C24, #FFF200);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 11px;
}

.proceed-btn {
  width: 100%;
  background: linear-gradient(135deg, #004700 0%, #006600 100%);
  color: white;
  padding: 18px 30px;
  border: none;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 30px;
  box-shadow: 0 4px 15px rgba(0, 71, 0, 0.3);
    font-family: 'Segoe UI', Roboto, sans-serif;
}

.cancel-btn {
  width: 100%;
  background: linear-gradient(135deg, #fff 0%, #fff 100%);
  color: #000;
  padding: 18px 30px;
  border: 1px solid #888;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 30px;
  box-shadow: 0 4px 15px rgba(0, 71, 0, 0.3);
}

.proceed-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 71, 0, 0.4);
}

.proceed-btn:active {
  transform: translateY(0);
}

.form-title {
  text-align: center;
  color: #004700;
  margin-bottom: 30px;
}

.form-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 40px;
  font-size: 14px;
}

.required {
  color: #e74c3c;
}

.info-text {
  font-size: 12px;
  color: maroon;
  margin-top: 5px;
  font-style: italic;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .form-container {
    margin: 20px 10px;
    padding: 25px;
  }
  
  .momo-options {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .momo-card {
    padding: 15px 10px;
    min-height: 100px;
  }
  
  .momo-logo {
    width: 40px;
    height: 40px;
  }
}


@media (max-width: 480px) {
  .form-container {
    padding: 20px;
  }
  
  .form-input {
    padding: 12px 15px;
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  .momo-options {
    grid-template-columns: 1fr;
  }
  
  .proceed-btn {
    padding: 15px 25px;
    font-size: 10px;
  }
  .cancel-btn {
    padding: 15px 25px;
    font-size: 10px;
  }
}