.receipt {
    padding: 10px;
    background-color: white;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1), 0px 0px 5px rgba(0, 0, 0, 0.2);  /* Shadow effect around the box */
    margin: 10px auto;  /* Center the receipt on the page */
    position: relative;
    border-radius: 8px;  /* Optional: rounded corners */
}
.receipt-header {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}
.receipt-info {
    font-size: 16px;
    margin-bottom: 15px;
}
.items {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}
.items th, .items td {
    border-bottom: 1px solid #ddd;
    padding: 10px;
    text-align: right;
}
.items th:first-child, .items td:first-child {
    text-align: left;
}
.total {
    font-size: 18px;
    font-weight: bold;
    text-align: right;
    margin-top: 15px;
}
.payment-option {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-option:hover {
    border-color: #007bff;
    background-color: #e8f0fe;
}

/* Apply the selected state with the same hover behavior or a different one */
.payment-option.selected {
    border-color: #007bff;
    background-color: #e8f0fe;
}

.details {
    margin-left: 40px;
    font-size: 14px;
    color: #333;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.selected + .details {
    max-height: 200px; /* Adjust based on content */
    opacity: 1;
    padding-top: 5px;
}


.details.show {
    max-height: 200px; /* Adjust based on expected content */
    opacity: 1;
}
::ng-deep .payment-option:hover, ::ng-deep .selected {
    border-color: #007bff;
    background-color: #e8f0fe;
}

.payment-option.disabled {
    pointer-events: none; /* Prevents clicking */
    opacity: 0.9; /* Makes it look faded */
    cursor: not-allowed; /* Shows disabled cursor */
    border-color: #ddd !important; /* Ensure it doesn't change on hover */
    background-color: #f8f8f8 !important; /* Ensure background doesn't change */
}
.gray-bold {
    font-weight: bold;
    color: #6c757d; /* Grayish color */
  }
  





