* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #ECE7F4;
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 375px;
    margin: 0 auto;
    min-height: 100vh;
    background: #ECE7F4;
    position: relative;
}

/* Header Styles */
.header {
    padding: 8px 16px 0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.time {
    font-weight: 600;
}

.status-icons {
    display: flex;
    gap: 4px;
    font-size: 12px;
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.back-btn, .help-btn, .share-btn {
    background: none;
    border: none;
    font-size: 18px;
    color: #333;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.back-btn:hover, .help-btn:hover, .share-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.nav-actions {
    display: flex;
    gap: 8px;
}

/* Payment Card */
.payment-card {
    background: white;
    margin: 20px 16px;
    border-radius: 8px;
    padding: 32px 24px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
		min-height: 600px;
}

.payment-card::after{
		content: "";
		position: absolute;
		top: 80px;
		left: -10px;
		width: 20px;
		height: 20px;
		border: 1px solid #ECE7F4;
		background: #ECE7F4;
		border-radius: 50%;
		pointer-events: none;
		z-index: 100;
}

.payment-card::before{
		content: "";
		position: absolute;
		top: 80px;
		right: -10px;
		width: 20px;
		height: 20px;
		border: 1px solid #ECE7F4;
		background: #ECE7F4;
		border-radius: 50%;
		pointer-events: none;
		z-index: 100;
}

.confirmation-title {
    font-size: 22px;
    font-weight: 600;
    color: #20021C;
    margin-bottom: 24px;
}

.success-icon {
    margin-bottom: 32px;
    display: flex;
    justify-content: center;
}

.checkmark {
    width: 80px;
    height: 80px;
    background: #00C851;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 16px rgba(0, 200, 81, 0.3);
}

/* Payment Details */
.payment-details {
    text-align: left;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px;
    padding-bottom: 16px;
    /* border-bottom: 1px solid #f0f0f0; */
    gap: 16px;
}

.detail-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.detail-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    flex-shrink: 0;
    min-width: 80px;
}

.detail-value {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    text-align: right;
    word-break: break-word;
}

.amount-row .detail-value {
    font-size: 18px;
    font-weight: 400;
    color: #333;
}

/* Responsive Design */
@media (max-width: 320px) {
    .payment-card {
        margin: 20px 12px;
        padding: 24px 16px;
    }
    
    .confirmation-title {
        font-size: 20px;
    }
    
    .checkmark {
        width: 70px;
        height: 70px;
        font-size: 35px;
    }
}

@media (min-width: 376px) {
    .container {
        border-radius: 24px;
        margin: 20px auto;
        max-height: calc(100vh - 40px);
        overflow: hidden;
        /* box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); */
    }
}

.payment-card {
  background: white;
  width: 320px;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  text-align: center;
  filter: blur(8px); /* 🔹 Borroso al inicio */
  transition: filter 0.5s ease;
}

.payment-card.visible {
  filter: blur(0px); /* 🔹 Se muestra claro al aceptar permisos */
}

/* Animation */
.payment-card {
    animation: slideUp 0.4s ease-out;
}

.checkmark {
    animation: scaleIn 0.5s ease-out 0.2s both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}


.showdata {
  display: block;
  margin: 32px auto 0 auto;
  padding: 14px 32px 12px 32px;
  background-color: #1abc9c;
  color: #fff;
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(26, 188, 156, 0.15);
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.showdata:hover,
.showdata:focus {
  background-color: #1aad90;
  transform: translateY(-1px) scale(1.002);
  outline: none;
}