* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    background-color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 20px;
}

.payment-card {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.3s ease-out;
}

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

/* Success Page Styles */
.success-card {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    margin-bottom: 30px;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.success-message h2 {
    color: #1a237e;
    font-size: 28px;
    margin-bottom: 15px;
    animation: fadeIn 0.5s ease-out 0.3s both;
}

.success-message p {
    color: #666;
    font-size: 18px;
    line-height: 1.5;
    animation: fadeIn 0.5s ease-out 0.5s both;
}

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

/* Original Styles */
.close-btn {
    position: absolute;
    right: 20px;
    top: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    padding: 5px;
    line-height: 1;
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

.header h1 {
    color: #1a237e;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.subtitle {
    color: #666;
    font-size: 16px;
}

.payment-section {
    text-align: center;
}

.payment-section h2 {
    color: #333;
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: 500;
}

.qr-container {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin: 0 auto;
    width: fit-content;
    margin-bottom: 20px;
}

.qr-code {
    width: 250px;
    height: 250px;
    object-fit: contain;
}

.amount {
    margin: 20px 0;
}

.amount p {
    font-size: 22px;
    color: #333;
    font-weight: 500;
}

.instructions {
    color: #666;
    font-size: 16px;
    margin: 25px 0;
}

.upi-apps {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.app-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.app-icon:hover {
    transform: scale(1.1);
}

/* Decorative elements */
.payment-card::before,
.payment-card::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    z-index: -1;
}

.payment-card::before {
    background-color: #e8f5e9;
    bottom: -20px;
    left: -20px;
    border-radius: 50%;
}

.payment-card::after {
    background-color: #e3f2fd;
    top: -20px;
    right: -20px;
    border-radius: 50%;
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .payment-card {
        padding: 20px 15px;
    }

    .qr-code {
        width: 200px;
        height: 200px;
    }

    .header h1 {
        font-size: 22px;
    }

    .subtitle {
        font-size: 14px;
    }

    .amount p {
        font-size: 20px;
    }

    .app-icon {
        width: 35px;
        height: 35px;
    }

    .success-message h2 {
        font-size: 24px;
    }

    .success-message p {
        font-size: 16px;
    }
} 