/* ==========================================
   MICROSPLIT - CHECKOUT MOBILE OPTIMIZATION
   ========================================== */

/* Typography & Base Adjustments */
body {
    background-color: #f4f6f8;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

/* Card Styling */
.checkout-card {
    border-radius: 24px !important;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

/* Hero Total Section */
.hero-total-badge {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-total-amount {
    font-size: 2.75rem;
    letter-spacing: -1px;
    line-height: 1.1;
}

/* Item Breakdown Box */
.breakdown-box {
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
}

.breakdown-item {
    transition: background-color 0.15s ease;
}

.breakdown-item:last-child {
    border-bottom: none !important;
}

/* Payment Methods Section */
.payment-methods-card {
    border-radius: 20px !important;
    border: 1px solid #e2e8f0 !important;
}

/* Mobile Friendly Touch Buttons */
.btn-mobile-touch {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: transform 0.1s ease, box-shadow 0.15s ease;
}

.btn-mobile-touch:active {
    transform: scale(0.98);
}

/* Copy Row Controls */
.copy-row {
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 8px 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.copy-row:focus-within {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}

.copy-btn {
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 8px;
    min-width: 75px;
    min-height: 32px;
}

/* QR Code Container (FIXED) */
.qr-container {
    background-color: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0; /* ✅ CORECT: "solid" în loc de "stroke" */
}

.qr-image {
    max-width: 170px;
    height: 170px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Responsive Tweaks for Small Mobile Screens (<380px) */
@media (max-width: 380px) {
    .hero-total-amount {
        font-size: 2.25rem;
    }

    .copy-row span {
        font-size: 0.75rem !important;
    }

    .btn-mobile-touch {
        font-size: 0.88rem;
    }
}