 .card-container {
      width: 400px;
      border-radius: 8px;
      background: #fff;
      color: #333;
      margin-bottom: 20px;
    }

    .btn-theme{
        background-color: #ab3a82;
        color: #fff;
        border: none;
    }

    .btn-theme:hover{
        background-color: #ab3a82;
        color: #fff;
        border: none;
    }

    .account-name {
      font-size: 22px;
      font-weight: 700;
      margin-bottom: 25px;
      color: #444;
    }

    .details {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }
  /* Default tab text */
    .nav-tabs .nav-link {
        color: #6f42c1; /* purple */
    }

    /* Active tab text */
    .nav-tabs .nav-link.active {
        color: #6f42c1; /* purple */
        font-weight: bold;
        border-color: #6f42c1 #6f42c1 #fff; /* purple underline */
    }

    /* Hover effect */
    .nav-tabs .nav-link:hover {
        color: #5a32a3; /* darker purple */
    }
    .detail-box {
      background: #f9f9fb;
      padding: 14px;
      border-radius: 12px;
      text-align: center;
      border: 1px solid #e6e6e6;
      transition: all 0.2s ease-in-out;
    }

    .detail-box:hover {
      background: #f0f3ff;
      transform: translateY(-3px);
      box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    }

    .detail-box h4 {
      margin: 0;
      font-size: 13px;
      font-weight: 500;
      color: #777;
    }

    .detail-box p {
      margin: 6px 0 0;
      font-size: 16px;
      font-weight: 600;
      color: #333;
    }

#sidebar-menu > ul > .nav-item > .nav-link.active {
    backdrop-filter: contrast(0.5);
    margin-left: 12px;
}

#sidebar-menu > ul > .nav-item > .nav-link {
    -webkit-transition: margin-left 0.2s ease-out;
    -moz-transition: margin-left 0.2s ease-out;
    -o-transition: margin-left 0.2s ease-out;
    transition: margin-left 0.2s ease-out;
}

#sidebar-menu > ul > .nav-item > .nav-link:hover {
    backdrop-filter: brightness(0.5);
    margin-left: 12px;
}


.text-secondary {
    color: #320e6b !important;
}


.text-pink {
    color: #AC3A83 !important;
}


.page-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/bankz/bankz-icon.svg");
    background-repeat: space; /* evenly spaced logos */
  background-size: 80px auto; /* control logo size */
  background-repeat: repeat;
  background-size: 100px auto; /* logo size */
  background-position: center;
  opacity: 0.05;
  pointer-events: none;
  z-index: -1;
}


 /* Card Container and 3D Effects */
    #tabs-card-details .card-container {
        perspective: 1000px;
        width: 400px;
        height: 250px;
        margin: 0 0 30px 0  ;
    }

    #tabs-card-details .card {
        width: 100%;
        height: 100%;
        position: relative;
        transform-style: preserve-3d;
        transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        cursor: pointer;
    }

    #tabs-card-details .card.flipped {
        transform: rotateY(180deg);
    }

    #tabs-card-details .card-face {
        position: absolute;
        width: 100%;
        height: 100%;
        backface-visibility: hidden;
        border-radius: 15px;
        overflow: hidden;
    }

    #tabs-card-details .card-front {
        background:  linear-gradient(34deg, #332665 13.92%, #382667 24.18%, #49276D 39.31%, #6E2476 57.45%, #9B3480 77.75%, #AF3B82 86.08%);;
        /* background-image: url(../img/bankz/bankz-card.svg); */
        background-repeat: no-repeat;
        background-position: center center;
        background-attachment: fixed;
        object-fit: cover;
        color: white;
        padding: 25px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    #tabs-card-details .card-back {
         background:  linear-gradient(34deg, #332665 13.92%, #382667 24.18%, #49276D 39.31%, #6E2476 57.45%, #9B3480 77.75%, #AF3B82 86.08%);;

        color: white;
        transform: rotateY(180deg);
        padding: 20px;
    }

    #tabs-card-details .bank-logo {
        font-size: 24px;
        font-weight: bold;
        letter-spacing: 1px;
    }

    #tabs-card-details .card-chip {
        width: 100px;
        height: auto;

       background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        border-radius: 5px;
        margin-bottom: 15px;
        position: relative;
    }

    #tabs-card-details .card-chip::before {
        content: '';
        position: absolute;
        top: 3px;
        left: 3px;
        right: 3px;
        bottom: 3px;

        border-radius: 3px;
    }

    #tabs-card-details .card-number {
        font-size: 22px;
        font-weight: 600;
        letter-spacing: 3px;
        margin: 20px 0;
        font-family: 'Courier New', monospace;
    }

    #tabs-card-details .card-details {
        display: flex;
        justify-content: space-between;
        align-items: end;
    }

    #tabs-card-details .card-holder, #tabs-card-details .card-expiry {
        font-size: 12px;
        opacity: 0.8;
    }

    #tabs-card-details .card-holder-name, #tabs-card-details .card-expiry-date {
        font-size: 16px;
        font-weight: 600;
        margin-top: 5px;
    }

    #tabs-card-details .card-type {
        position: absolute;
        top: 25px;
        right: 25px;
        font-size: 18px;
        font-weight: bold;
        opacity: 0.9;
    }

    #tabs-card-details .magnetic-strip {
        width: 100%;
        height: 45px;
        background: #000;
        margin: 20px 0;
    }

    #tabs-card-details .cvv-section {
        background: rgba(255, 255, 255, 0.9);
        color: #333;
        padding: 10px;
        border-radius: 5px;
        margin: 15px 0;
    }

    #tabs-card-details .cvv-label {
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 5px;
    }

    #tabs-card-details .cvv-number {
        font-size: 16px;
        font-weight: bold;
        letter-spacing: 2px;
        font-family: 'Courier New', monospace;
    }

    #tabs-card-details .signature-panel {
        background: rgba(255, 255, 255, 0.9);
        color: #333;
        padding: 8px;
        border-radius: 3px;
        margin: 10px 0;
        font-style: italic;
        text-align: center;
        font-size: 14px;
    }

    #tabs-card-details .card-info {


        margin-top: 30px;


        max-width: 400px;

    }

    #tabs-card-details .info-title {
        font-size: 24px;
        font-weight: bold;
        margin-bottom: 20px;
        color: #1e3c72;
        text-align: center;
    }

    #tabs-card-details .info-row {
        display: flex;
        justify-content: space-between;
        padding: 12px 0;
        border-bottom: 1px solid #eee;
    }

    #tabs-card-details .info-row:last-child {
        border-bottom: none;
    }

    #tabs-card-details .info-label {
        font-weight: 600;
        color: #555;
    }

    #tabs-card-details .info-value {
        color: #333;
        font-weight: 500;
    }



    #tabs-card-details .contactless-symbol {
        position: absolute;
        top: 80px;
        right: 25px;
        font-size: 20px;
    }

    @media (max-width: 480px) {
        #tabs-card-details .card-container {
            width: 350px;
            height: 220px;
        }

        #tabs-card-details .card-number {
            font-size: 18px;
        }

        #tabs-card-details .card-info {
            margin: 20px;
            padding: 20px;
        }
    }

        .card-details {
            display: flex;
            justify-content: space-between;
            font-size: 10px;
        }

        .card-details .label {
            font-size: 8px;
            opacity: 0.7;
        }

        .card-details .name, .card-details .date {
            font-weight: 600;
            font-size: 11px;
        }

        /* Info List Styles */
        .info-list {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .info-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.5rem 0;
            border-bottom: 1px solid var(--tblr-border-color);
        }

        .info-item:last-child {
            border-bottom: none;
        }

        .info-label {
            font-weight: 500;
            color: var(--tblr-muted);
            min-width: 120px;
        }

        .info-value {
            font-weight: 600;
            text-align: right;
        }

        /* CVV and Magnetic Strip Styles */
        .magnetic-strip {
            width: 100%;
            height: 30px;
            background: #000;
            margin: 10px 0;
        }

        .cvv-section {
            background: white;
            color: black;
            padding: 5px 10px;
            margin: 10px 0;
            border-radius: 4px;
            display: flex;
            justify-content: space-between;
        }

        .signature-panel {
            background: white;
            color: black;
            padding: 8px;
            margin: 10px 0;
            border-radius: 4px;
            font-style: italic;
        }

        .bank-info {
            font-size: 8px;
            line-height: 1.2;
            margin-top: 15px;
        }

        .bank-info p {
            margin: 5px 0;
        }

        .bank-info .small {
            opacity: 0.7;
        }

        /* Page Header Improvements */
        .page-pretitle {
            color: var(--tblr-muted);
            font-size: 0.875rem;
        }

        .page-title {
            font-size: 1.5rem;
            font-weight: 600;
            margin: 0;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .col-lg-4, .col-lg-8 {
                margin-bottom: 1rem;
            }

            #debitCard {
                width: 250px;
                height: 150px;
            }

            .card-number {
                font-size: 14px;
            }
        }
 /* Responsive Adjustments */
        @media (max-width: 768px) {


            .nav-tabs {
                flex-wrap: nowrap;
                overflow-x: auto;
                white-space: nowrap;
            }

            .nav-tabs .nav-link {
                font-size: 0.9rem;
                padding: 8px 12px;
            }
        }

        @media (max-width: 576px) {


            .modal-dialog {
                margin: 0.5rem;
            }

            .modal-content {
                padding: 10px;
            }

            .modal-body {
                padding: 15px;
            }

            .btn {
                padding: 8px 12px;
                font-size: 0.9rem;
            }
        }

        /* Modal Styling */
        .modal-dialog {
            max-width: 500px;
        }

        .modal-content {
            border-radius: 10px;
        }

        .modal-body {
            padding: 20px;
        }

        .modal-footer {
            display: flex;
            justify-content: space-between;
            gap: 10px;
        }

        .modal-footer .btn {
            flex: 1;
        }

        /* Tabbed Content */
        .info-list .info-item {
            display: flex;
            justify-content: space-between;
            padding: 10px 0;
            border-bottom: 1px solid #eee;
        }

        .info-label {
            font-weight: bold;
        }

        .info-value {
            text-align: right;
        }

        @media (max-width: 576px) {
            .info-list .info-item {
                flex-direction: column;
                gap: 5px;
            }

            .info-value {
                text-align: left;
            }
        }
