/* Digital Receipt Styles */
.receipt-card {
    background: white;
    padding: 24px;
    margin: 20px auto;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    font-family: 'Courier New', monospace;
    overflow: hidden;
    color: #333;
}

.receipt-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(135deg, transparent 33%, #f5f5f5 33%, #f5f5f5 66%, transparent 66%),
        linear-gradient(45deg, transparent 33%, #f5f5f5 33%, #f5f5f5 66%, transparent 66%);
    background-size: 12px 6px;
    background-position: top;
}

.receipt-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(135deg, transparent 33%, #fff 33%, #fff 66%, transparent 66%),
        linear-gradient(45deg, transparent 33%, #fff 33%, #fff 66%, transparent 66%);
    background-size: 12px 6px;
    background-position: bottom;
}

.receipt-header {
    text-align: center;
    border-bottom: 2px dashed #ddd;
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.receipt-header h3 {
    margin: 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.receipt-date {
    color: #888;
    font-size: 0.8rem;
    margin-top: 4px;
}

.receipt-items {
    margin-bottom: 16px;
}

.receipt-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.receipt-total {
    border-top: 2px dashed #ddd;
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Naver Review Call-to-Action */
.naver-review-box {
    background: #03C75A;
    border-radius: 12px;
    padding: 18px;
    color: white;
    margin-top: 24px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(3, 199, 90, 0.3);
    transition: transform 0.2s;
    animation: bounceIn 0.8s ease-out 0.5s both;
}

.naver-review-box:active {
    transform: scale(0.98);
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    60% {
        opacity: 1;
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0);
    }
}

.naver-icon {
    font-weight: 900;
    background: white;
    color: #03C75A;
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 6px;
    font-size: 0.8rem;
}

.review-benefit {
    display: inline-block;
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.15);
    padding: 4px 10px;
    border-radius: 20px;
    margin-top: 8px;
    font-weight: 500;
}