/* ===== FAST MONEY QR PAGE MODERN DESIGN - UNIFIED DARK GREEN THEME ===== */

/* Enhanced logo integration for QR interface */
.qr-logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    animation: fadeInDown 0.6s ease-out;
}

.qr-page-logo {
    height: 70px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(42, 90, 62, 0.15);
}

.qr-page-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(42, 90, 62, 0.25);
}

/* Enhanced main card styling */
.qr-main-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    max-width: 420px;
    width: 100%;
    text-align: center;
    position: relative;
    animation: fadeInUp 0.6s ease-out;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.qr-main-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8B5CF6, #7C3AED);
    border-radius: 16px 16px 0 0;
}

/* Enhanced cash register styling */
.cash-register-name {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background: #fafbfc;
    border-radius: 50px;
    color: #8B5CF6;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.cash-register-name:hover {
    background: rgba(42, 90, 62, 0.1);
    border-color: #8B5CF6;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(42, 90, 62, 0.15);
}

/* Enhanced button styling */
.create-payment-btn {
    background: #8B5CF6;
    border: none;
    padding: 1.25rem 2rem;
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px 0 rgba(42, 90, 62, 0.25);
    position: relative;
    overflow: hidden;
    min-width: 160px;
    width: 100%;
    max-width: 400px;
    margin: 1rem auto 0 auto;
    display: block;
}

.create-payment-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.create-payment-btn:hover::before {
    left: 100%;
}

.create-payment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(31, 78, 58, 0.35);
    background: #7C3AED;
}

/* Enhanced action buttons */
.btn-action {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #4a5568;
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    white-space: nowrap;
}

.btn-action:hover {
    background: #fafbfc;
    border-color: #8B5CF6;
    color: #8B5CF6;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(42, 90, 62, 0.15), 0 4px 6px -2px rgba(42, 90, 62, 0.1);
}

.btn-logout {
    background: #fafbfc;
    border: 1px solid #e2e8f0;
    color: #8B5CF6;
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    white-space: nowrap;
}

.btn-logout:hover {
    background: #ffffff;
    border-color: #ef4444;
    color: #ef4444;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(239, 68, 68, 0.15), 0 4px 6px -2px rgba(239, 68, 68, 0.1);
}

/* Enhanced currency display */
.currency-display {
    display: flex;
    align-items: center;
    padding: 1.25rem 1rem;
    background: #fafbfc;
    color: #8B5CF6;
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
}

/* Enhanced amount input wrapper */
.amount-input-wrapper {
    display: flex;
    background: white;
    border-radius: 50px;
    border: 2px solid rgba(42, 90, 62, 0.1);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.amount-input-wrapper:focus-within {
    transform: translateY(-1px);
    border-color: #8B5CF6;
    box-shadow: 0 0 0 4px rgba(42, 90, 62, 0.1);
}

/* Enhanced QR display styling */
.qr-image-wrapper {
    display: inline-block;
    padding: 1.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.qr-image-wrapper::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #8B5CF6, #7C3AED, #8B5CF6);
    border-radius: 22px;
    z-index: -1;
    animation: borderRotate 3s linear infinite;
}

@keyframes borderRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced payment link styling */
.payment-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #8B5CF6;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 1rem;
    box-shadow: 0 4px 14px 0 rgba(42, 90, 62, 0.25);
}

.payment-link:hover {
    background: #7C3AED;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(31, 78, 58, 0.35);
}

/* Enhanced animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsive enhancements */
@media (max-width: 768px) {
    .qr-main-card {
        padding: 2rem 1.5rem;
        margin: 0.5rem;
        border-radius: 20px;
        max-width: none;
        width: calc(100% - 1rem);
        min-width: 0;
    }
    
    .qr-page-logo {
        height: 60px;
        max-width: 150px;
    }
    
    .btn-logout, .btn-action {
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }
    
    .action-buttons-section {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .qr-main-card {
        padding: 1.5rem 1rem;
        margin: 0.25rem;
        width: calc(100% - 0.5rem);
        min-width: 0;
    }
    
    .qr-page-logo {
        height: 50px;
        max-width: 120px;
    }
    
    .btn-logout, .btn-action {
        padding: 0.675rem 1.25rem;
        font-size: 0.8rem;
        width: 100%;
        max-width: 280px;
    }
    
    .action-buttons-section {
        width: 100%;
        padding: 0 1rem;
    }
}