/* M-Pesa Style Receipt - Brominon AI Search Results */

.receipt-container {
    max-width: 400px;
    margin: 1rem auto;
}

.mpesa-receipt {
    background: #EFEAE1;
    border: 1px solid #d4c9b8;
    border-radius: 4px;
    font-family: 'Courier New', 'Inter', monospace;
    font-size: 0.7rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.receipt-header {
    background: #1C1B19;
    color: #EFEAE1;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.receipt-brand {
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.1;
}

.receipt-sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.5rem;
    color: #B5502E;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.receipt-confirm {
    background: #B5502E;
    color: #EFEAE1;
    padding: 0.25rem 0.75rem;
    border-radius: 3px;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.receipt-divider,
.receipt-perforation {
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        #d4c9b8 0px,
        #d4c9b8 4px,
        transparent 4px,
        transparent 8px
    );
}

.receipt-body {
    padding: 0.75rem 1rem;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    padding: 0.2rem 0;
    font-size: 0.7rem;
    font-family: 'Courier New', monospace;
}

.receipt-label {
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.receipt-value {
    color: #1C1B19;
    font-weight: 600;
}

.receipt-divider-line {
    text-align: center;
    color: #d4c9b8;
    padding: 0.15rem 0;
    letter-spacing: 0.15em;
    font-size: 0.6rem;
}

.receipt-total {
    font-size: 0.8rem;
    padding: 0.3rem 0;
    border-top: 1px dashed #d4c9b8;
    margin-top: 0.25rem;
}

.receipt-total .receipt-value {
    color: #B5502E;
    font-size: 0.9rem;
    font-weight: 700;
}

.receipt-footer {
    background: #f5f0e8;
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    color: #999;
    font-size: 0.5rem;
    letter-spacing: 0.05em;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
}

.receipt-footer span:last-child {
    color: #666;
}

/* Hover animation */
.mpesa-receipt {
    transition: all 0.3s ease;
}

.mpesa-receipt:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}

/* Print styles */
@media print {
    .mpesa-receipt {
        box-shadow: none;
        border: 1px solid #999;
    }
    
    .mpesa-receipt:hover {
        transform: none;
        box-shadow: none;
    }
}