<head>
    <title><?php echo $upi_name;?> - QR Payments</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <link rel="stylesheet" type="text/css" href="./assets/dist/css/adminx.css" media="screen" />
    <link rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.10.0/css/all.css"/>
	<!--script src="/assets/dist/js/historry.js"></script-->
	<script src="./assets/dist/js/sweetalert.min.js"></script>
<style>
.navbar-brand-image {
    width: 3.875rem;
    height: 1.875rem;
}    
.brand-logo{
   background-image: url('./images/brand.png');
   background-size: contain; 
   background-repeat: no-repeat;
   background-position: 
   center;
   height: 40px; width: 120px 
    
}

.small-logo {
    /* height: 60px; */
    width: 150px;
}

.adminx-container .navbar {
    font-size: .875rem;
    /* background-color: #000; */
    height: 3.5rem;
    padding: 0;
    -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
    box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
    background-image: linear-gradient(90deg, #085bac, #11c4cb);
}
.adminx-sidebar {
    /* background: #fff; */
    position: fixed;
    width: 260px;
    top: 3.5rem;
    bottom: 0;
    left: 0;
    z-index: 1040;
    -webkit-box-shadow: 1px 1px 1px 0 rgba(0,0,0,.1);
    box-shadow: 1px 1px 1px 0 rgba(0,0,0,.1);
    background-image: linear-gradient(180deg, #095fae, #11c4cb);
}
.sidebar-nav-link {
    padding: .5rem 1.5rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: #ffffff;
}
.sidebar-nav-link.active {
    color: #ffffff;
}
.sidebar-sub-nav {
    list-style-type: none;
    margin: 0;
    padding: .5rem 0;
    font-size: .875rem;
    background-image: linear-gradient(180deg, #095fae, #11c4cb);
}
a:hover {
  color: white;
}
.card{
border-radius: 5px;	
}
.sp-background {
  background: #0857ab;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

}
.card-nblue {
 background: #011f3f;	
}
.table td, .table th {
    padding: .75rem;
    vertical-align: top;
    border-top: 1px solid #0e98be;
}

.bg-mix{
  background: linear-gradient(#0857ab,#11c9cc);	
}
.table-hover tbody tr:hover {
    background-color: #011f3f;
    color: white;
}

/* Enhanced Payment Card Styling */
.payment-card {
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}

.payment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(8,91,172,0.3) !important;
}

/* QR Code Optimizations for Better Mobile Scanning */
#qrcode canvas {
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    max-width: 100%;
    height: auto;
    border: 3px solid #ffffff;
    transition: all 0.3s ease;
}

#qrcode canvas:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

#qrcode img {
    border-radius: 15px;
    max-width: 100%;
    height: auto;
    border: 3px solid #ffffff;
}

/* Responsive QR Container */
.qr-container {
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.qr-container::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 2px dashed rgba(8,91,172,0.3);
    border-radius: 15px;
    pointer-events: none;
    animation: borderPulse 2s ease-in-out infinite;
}

/* UPI App Icons Hover Effect */
.app-icon:hover {
    transform: scale(1.1) !important;
    filter: brightness(1.1);
}

/* Button Animations */
.action-buttons .btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2) !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes borderPulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        padding-left: 8px;
        padding-right: 8px;
    }
    
    #qrcode canvas {
        width: 220px !important;
        height: 220px !important;
    }
    
    .qr-container {
        padding: 25px;
        min-height: 300px;
    }
    
    .card-body {
        padding: 25px 20px !important;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .action-buttons .btn {
        width: 100%;
        max-width: 250px;
        margin-bottom: 8px;
    }
    
    .upi-apps .d-flex {
        gap: 12px !important;
    }
    
    .app-icon img {
        height: 28px !important;
    }
}

@media (max-width: 480px) {
    #qrcode canvas {
        width: 200px !important;
        height: 200px !important;
    }
    
    .qr-container {
        padding: 20px;
        min-height: 280px;
    }
    
    .payment-card {
        margin: 10px;
        border-radius: 15px !important;
    }
    
    .card-header {
        padding: 20px 15px !important;
    }
    
    .card-body {
        padding: 20px 15px !important;
    }
    
    .upi-apps .d-flex {
        gap: 10px !important;
    }
    
    .app-icon img {
        height: 25px !important;
    }
    
    .merchant-info .col-7,
    .merchant-info .col-5 {
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
    #qrcode canvas {
        width: 180px !important;
        height: 180px !important;
    }
    
    .qr-container {
        padding: 15px;
        min-height: 260px;
    }
}
</style>
</head>