/**
 * Qpay Sharia Compliant Plugin Styles
 * Using Qpay Brand Colors
 */

:root {
    /* Primary Colors */
    --qpay-primary-blue: #0088bd;
    --qpay-cyan: #00cde8;
    --qpay-dark-blue: #003f82;
    --qpay-light-gray: #dae7ea;
    --qpay-teal: #4ddad5;
    --qpay-dark-teal: #115a58;
    --qpay-dark: #1f2827;
    --qpay-teal-dark: #038480;
    
    /* Secondary Colors */
    --qpay-purple: #3c3fb2;
    --qpay-blue-secondary: #004cbd;
    --qpay-cream: #ebe9da;
    --qpay-yellow: #dded5;
    
    /* Islamic Pattern Colors */
    --islamic-gold: #d4af37;
    --islamic-green: #006b3c;
}

/* Main Container - Full Width Support */
/* Break out of theme containers to achieve full viewport width */
.qpay-sharia-container {
    position: relative;
    overflow: hidden;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 40px max(20px, calc((100vw - 1200px) / 2));
    box-sizing: border-box;
    /* Subtle base gradient for Islamic aesthetic */
    background: linear-gradient(135deg, rgba(0, 136, 189, 0.015) 0%, rgba(0, 205, 232, 0.015) 50%, rgba(77, 218, 213, 0.01) 100%);
}

/* Inner content wrapper - centers content with max-width */
.qpay-sharia-container > .qpay-inner-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
}

/* Override theme container constraints */
body .qpay-sharia-container,
.entry-content .qpay-sharia-container,
.post-content .qpay-sharia-container,
.content-area .qpay-sharia-container,
.container .qpay-sharia-container,
.wrapper .qpay-sharia-container,
.site-content .qpay-sharia-container,
.main-content .qpay-sharia-container,
.content-wrapper .qpay-sharia-container,
#content .qpay-sharia-container,
.page-content .qpay-sharia-container {
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    max-width: 100vw !important;
    width: 100vw !important;
    padding-left: max(20px, calc((100vw - 1200px) / 2)) !important;
    padding-right: max(20px, calc((100vw - 1200px) / 2)) !important;
}

/* Islamic Background Pattern - Girih-inspired Geometric Design */
.qpay-sharia-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    opacity: 0.08;
    background-image: 
        /* Main 8-pointed star and octagon pattern */
        url("data:image/svg+xml,%3Csvg width='300' height='300' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='girih' x='0' y='0' width='300' height='300' patternUnits='userSpaceOnUse'%3E%3Cg stroke='%230088bd' stroke-width='1.5' fill='none' opacity='0.15'%3E%3C%21-- Central 8-pointed star --%3E%3Cpath d='M150,50 L170,110 L230,110 L185,155 L230,200 L170,200 L150,260 L130,200 L70,200 L115,155 L70,110 L130,110 Z'/%3E%3C%21-- Octagons around star --%3E%3Cpath d='M150,50 L185,85 L185,125 L150,155 L115,125 L115,85 Z'/%3E%3Cpath d='M230,110 L265,145 L265,185 L230,200 L195,185 L195,145 Z'/%3E%3Cpath d='M230,200 L265,215 L265,255 L230,250 L195,255 L195,215 Z'/%3E%3Cpath d='M150,260 L185,245 L185,285 L150,300 L115,285 L115,245 Z'/%3E%3Cpath d='M70,200 L35,215 L35,255 L70,250 L105,255 L105,215 Z'/%3E%3Cpath d='M70,110 L35,75 L35,35 L70,50 L105,35 L105,75 Z'/%3E%3Cpath d='M150,155 L185,190 L185,230 L150,245 L115,230 L115,190 Z'/%3E%3Cpath d='M150,155 L115,190 L115,230 L150,245 L185,230 L185,190 Z' transform='rotate(45 150 200)'/%3E%3C%21-- Connecting lines --%3E%3Cline x1='150' y1='50' x2='150' y2='20'/%3E%3Cline x1='230' y1='110' x2='260' y2='110'/%3E%3Cline x1='230' y1='200' x2='260' y2='200'/%3E%3Cline x1='150' y1='260' x2='150' y2='290'/%3E%3Cline x1='70' y1='200' x2='40' y2='200'/%3E%3Cline x1='70' y1='110' x2='40' y2='110'/%3E%3Cline x1='115' y1='85' x2='100' y2='70'/%3E%3Cline x1='185' y1='85' x2='200' y2='70'/%3E%3C/g%3E%3C/pattern%3E%3C/defs%3E%3Crect width='300' height='300' fill='url(%23girih)'/%3E%3C/svg%3E"),
        /* Secondary layer with smaller stars */
        url("data:image/svg+xml,%3Csvg width='150' height='150' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='starSmall' x='0' y='0' width='150' height='150' patternUnits='userSpaceOnUse'%3E%3Cg stroke='%2300cde8' stroke-width='1' fill='none' opacity='0.1'%3E%3C%21-- Small 8-pointed stars --%3E%3Cpath d='M75,25 L85,55 L115,55 L95,75 L115,105 L85,105 L75,135 L65,105 L35,105 L55,75 L35,55 L65,55 Z'/%3E%3C%21-- Connecting squares --%3E%3Crect x='50' y='50' width='50' height='50' transform='rotate(45 75 75)'/%3E%3C/g%3E%3C/pattern%3E%3C/defs%3E%3Crect width='150' height='150' fill='url(%23starSmall)'/%3E%3C/svg%3E");
    background-size: 
        300px 300px,
        150px 150px;
    background-position:
        0 0,
        75px 75px;
    z-index: 0;
    pointer-events: none;
}

/* Additional geometric overlay - interconnecting lines */
.qpay-sharia-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    opacity: 0.06;
    background-image: 
        /* Grid pattern for structure */
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 149px,
            rgba(0, 136, 189, 0.03) 149px,
            rgba(0, 136, 189, 0.03) 150px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 149px,
            rgba(0, 136, 189, 0.03) 149px,
            rgba(0, 136, 189, 0.03) 150px
        ),
        /* Diagonal lines */
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 105px,
            rgba(0, 205, 232, 0.02) 105px,
            rgba(0, 205, 232, 0.02) 106px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 105px,
            rgba(0, 136, 189, 0.02) 105px,
            rgba(0, 136, 189, 0.02) 106px
        );
    background-size: 
        150px 150px,
        150px 150px,
        150px 150px,
        150px 150px;
    z-index: 0;
    pointer-events: none;
}

.qpay-sharia-container > .qpay-inner-wrapper {
    position: relative;
    z-index: 1;
}

/* Header Section */
.qpay-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--qpay-primary-blue) 0%, var(--qpay-dark-blue) 100%);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 136, 189, 0.3);
    position: relative;
    overflow: hidden;
}

.qpay-header::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    opacity: 0.1;
    top: -50px;
    right: -50px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    transform: rotate(-15deg);
    animation: float 6s ease-in-out infinite;
}

.qpay-header h1 {
    color: white;
    font-size: 3em;
    margin: 0 0 15px 0;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease-out;
}

.qpay-header .subtitle {
    color: var(--qpay-cyan);
    font-size: 1.3em;
    font-weight: 300;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.qpay-header-badges {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.qpay-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9em;
    opacity: 0.95;
    color: white;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 15px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

/* Sharia Compliance Info Section */
.qpay-compliance-info {
    background: white;
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 40px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.qpay-compliance-info::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--qpay-primary-blue), var(--qpay-cyan), var(--qpay-teal));
}

.qpay-compliance-info h2 {
    color: var(--qpay-dark-blue);
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.qpay-compliance-info h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--qpay-primary-blue), var(--qpay-cyan));
    border-radius: 2px;
}

.qpay-compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.qpay-compliance-item {
    background: linear-gradient(135deg, var(--qpay-light-gray) 0%, white 100%);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.qpay-compliance-item::before {
    content: '✓';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: var(--qpay-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 40px;
    font-weight: bold;
    opacity: 0.2;
    transition: all 0.3s ease;
}

.qpay-compliance-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 136, 189, 0.2);
    border-color: var(--qpay-primary-blue);
}

.qpay-compliance-item:hover::before {
    opacity: 0.4;
    transform: scale(1.2);
}

.qpay-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--qpay-primary-blue), var(--qpay-cyan));
    border-radius: 50%;
    position: relative;
}

.qpay-icon-wrapper .qpay-icon {
    font-size: 2.5em;
    color: white;
}

.qpay-compliance-item h3 {
    color: var(--qpay-dark-blue);
    font-size: 1.5em;
    margin-bottom: 15px;
}

.qpay-compliance-item p {
    color: var(--qpay-dark);
    line-height: 1.6;
    font-size: 1.1em;
}

/* Committee Members Section */
.qpay-committee {
    background: linear-gradient(135deg, var(--qpay-light-gray) 0%, white 100%);
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 40px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.qpay-committee h2 {
    color: var(--qpay-dark-blue);
    font-size: 2.5em;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.qpay-committee h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--qpay-primary-blue), var(--qpay-cyan));
    border-radius: 2px;
}

.qpay-committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.qpay-member-card {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.qpay-member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--qpay-primary-blue), var(--qpay-cyan));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.qpay-member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 136, 189, 0.3);
}

.qpay-member-card:hover::before {
    transform: scaleX(1);
}

.qpay-member-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--qpay-primary-blue), var(--qpay-cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid white;
    box-shadow: 0 5px 20px rgba(0, 136, 189, 0.3);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.qpay-member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.qpay-member-initial {
    font-size: 3em;
    color: white;
    font-weight: bold;
    position: absolute;
    z-index: 1;
}

.qpay-member-card:hover .qpay-member-avatar {
    transform: scale(1.1) rotate(5deg);
}

.qpay-member-name {
    color: var(--qpay-dark-blue);
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 10px;
}

.qpay-member-role {
    color: var(--qpay-primary-blue);
    font-size: 1em;
    font-style: italic;
}

/* Certificate Section */
.qpay-certificate-section {
    background: linear-gradient(135deg, var(--qpay-dark-blue) 0%, var(--qpay-primary-blue) 100%);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    color: white;
    box-shadow: 0 10px 40px rgba(0, 136, 189, 0.3);
    position: relative;
    overflow: hidden;
}

.qpay-certificate-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    opacity: 0.05;
    top: -100px;
    right: -100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-1 9H9V9h10v2zm-4 4H9v-2h6v2zm4-8H9V5h10v2z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    animation: float 8s ease-in-out infinite;
}

.qpay-certificate-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: white;
}

.qpay-certificate-section p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--qpay-light-gray);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.qpay-certificate-btn {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(135deg, var(--qpay-cyan) 0%, var(--qpay-teal) 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(0, 205, 232, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.qpay-certificate-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.qpay-certificate-btn:hover::before {
    width: 300px;
    height: 300px;
}

.qpay-certificate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 205, 232, 0.6);
}

.qpay-certificate-btn:active {
    transform: translateY(-1px);
}

.qpay-certificate-btn span {
    position: relative;
    z-index: 1;
}

/* Islamic Decorative Elements */
.qpay-islamic-pattern {
    position: absolute;
    width: 100px;
    height: 100px;
    opacity: 0.1;
    background-image: 
        radial-gradient(circle, var(--qpay-primary-blue) 2px, transparent 2px);
    background-size: 20px 20px;
    pointer-events: none;
}

.qpay-floating-particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: floatParticle 15s ease-in-out infinite;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.2;
    }
    25% {
        transform: translate(20px, -30px) scale(1.2);
        opacity: 0.4;
    }
    50% {
        transform: translate(-15px, -50px) scale(0.8);
        opacity: 0.3;
    }
    75% {
        transform: translate(30px, -20px) scale(1.1);
        opacity: 0.35;
    }
}

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

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

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(-15deg);
    }
    50% {
        transform: translateY(-20px) rotate(-15deg);
    }
}

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

/* Additional Islamic Decorative Elements */
.qpay-islamic-border {
    border: 2px solid var(--qpay-primary-blue);
    border-radius: 10px;
    position: relative;
    padding: 20px;
}

.qpay-islamic-border::before,
.qpay-islamic-border::after {
    content: '☪';
    position: absolute;
    font-size: 20px;
    color: var(--qpay-primary-blue);
    opacity: 0.3;
}

.qpay-islamic-border::before {
    top: -12px;
    left: 20px;
    background: white;
    padding: 0 10px;
}

.qpay-islamic-border::after {
    bottom: -12px;
    right: 20px;
    background: white;
    padding: 0 10px;
}

/* Star and Crescent Pattern */
.qpay-star-pattern {
    background-image: 
        radial-gradient(circle at 20% 50%, var(--qpay-primary-blue) 1px, transparent 1px),
        radial-gradient(circle at 80% 50%, var(--qpay-cyan) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .qpay-sharia-container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .qpay-header h1 {
        font-size: 2em;
    }
    
    .qpay-compliance-info,
    .qpay-committee,
    .qpay-certificate-section {
        padding: 30px 20px;
    }
    
    .qpay-compliance-grid,
    .qpay-committee-grid {
        grid-template-columns: 1fr;
    }
    
    .qpay-certificate-btn {
        padding: 15px 40px;
        font-size: 1em;
    }
    
    .qpay-header::before {
        font-size: 150px;
        top: -30px;
        right: -30px;
    }
}

/* Additional full-width fixes for common theme containers */
@media (min-width: 1200px) {
    .qpay-sharia-container {
        padding-left: max(20px, calc((100vw - 1200px) / 2));
        padding-right: max(20px, calc((100vw - 1200px) / 2));
    }
}

/* Custom Icons */
.qpay-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}

.qpay-icon-crescent {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8 0-1.85.63-3.55 1.69-4.9L16.9 18.31C15.55 19.37 13.85 20 12 20zm6.31-3.1L7.1 5.69C8.45 4.63 10.15 4 12 4c4.41 0 8 3.59 8 8 0 1.85-.63 3.55-1.69 4.9z'/%3E%3C/svg%3E");
}

.qpay-icon-check {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
}

.qpay-icon-handshake {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M20.84 22.73l-1.38-1.38c-.36.36-.87.58-1.38.58H5c-1.11 0-2-.89-2-2V5.38L1.11 3l1.28-1.27 19.72 19.73-1.27 1.27M16.5 18.31l-1.5-1.5H5v-1.5h9.19l-1.5-1.5H5v-1.5h6.19L9.69 9.5H5V8h2.19L3.68 4.5H3v14.31c0 .38.21.71.53.88L16.5 18.31M19 8h-1.5v4.5H19V8M19 5h-1.5v1.5H19V5M9.31 6.5h4.19V8h-2.69l-1.5-1.5M11.81 9.5h4.19v1.5h-2.69l-1.5-1.5M5 4.5h1.5V6H5V4.5M19 15.31l-1.5-1.5V14h1.5v1.31M19 11.81l-1.5-1.5V11h1.5v.81M12.19 15.31l-1.5-1.5V14h1.5v1.31M9.19 12.31l-1.5-1.5V11h1.5v1.31z'/%3E%3C/svg%3E");
}

.qpay-icon-ban {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230088bd'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3Cpath d='M18.36 5.64L5.64 18.36C6.88 19.55 8.38 20.5 10 21.1c1.62.6 3.35.9 5.1.9 1.75 0 3.48-.3 5.1-.9-1.62-.6-3.15-1.55-4.44-2.76L18.36 5.64z'/%3E%3C/svg%3E");
}

.qpay-icon-search {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230088bd'%3E%3Cpath d='M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E");
}

.qpay-icon-money {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230088bd'%3E%3Cpath d='M11.8 10.9c-2.27-.59-3-1.2-3-2.15 0-1.09 1.01-1.85 2.7-1.85 1.78 0 2.44.85 2.5 2.1h2.21c-.07-1.72-1.12-3.3-3.21-3.81V3h-3v2.16c-1.94.42-3.5 1.68-3.5 3.61 0 2.31 1.91 3.46 4.7 4.13 2.5.6 3 1.48 3 2.41 0 .69-.49 1.79-2.7 1.79-2.06 0-2.87-.92-2.98-2.1h-2.2c.12 2.19 1.76 3.42 3.68 3.83V21h3v-2.15c1.95-.37 3.5-1.5 3.5-3.55 0-2.84-2.43-3.81-4.7-4.4z'/%3E%3C/svg%3E");
}

.qpay-icon-check-circle {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230088bd'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
}

.qpay-icon-certificate {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-1 9H9V9h10v2zm-4 4H9v-2h6v2zm4-8H9V5h10v2z'/%3E%3C/svg%3E");
}

.qpay-icon-users {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230088bd'%3E%3Cpath d='M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z'/%3E%3C/svg%3E");
}

.qpay-icon-info {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230088bd'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z'/%3E%3C/svg%3E");
}

/* Icon sizes */
.qpay-badge .qpay-icon {
    width: 18px;
    height: 18px;
}

.qpay-certificate-btn .qpay-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

/* Loading Animation */
.qpay-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success Message */
.qpay-success-message {
    background: var(--qpay-teal);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    margin-top: 20px;
    display: none;
    animation: fadeInUp 0.5s ease-out;
}

.qpay-success-message.show {
    display: block;
}