/* Ensure all voucher options have the same size */

.voucher-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
}

.voucher-option {
    flex: 1;
    min-width: 150px;
    max-width: 200px;
    margin: 0 10px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.voucher-option .card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.voucher-option .card-body {
    padding: 20px;
    text-align: center;
}

.voucher-option h6 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.voucher-option h5 {
    font-size: 18px;
    font-weight: bold;
    color: #dc3545;
    margin-bottom: 10px;
}

.voucher-option small {
    font-size: 14px;
    color: #666;
}

/* Disabled state for unavailable options */
.voucher-option.disabled {
    opacity: 0.6; /* Reduce opacity for unavailable options */
    cursor: not-allowed; /* Show not-allowed cursor */
}

.voucher-option.disabled .card {
    background-color: #f8f9fa; /* Light gray background for unavailable options */
}

.voucher-option.disabled .unavailable-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.8);
    color: #dc3545;
    font-weight: bold;
    font-size: 14px;
    border-radius: 10px;
}

/* Hover effect for available options */
.voucher-option:not(.disabled):hover {
    transform: translateY(-5px); /* Slight lift on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 992px) {
    .voucher-options {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .voucher-option {
        flex: none;
        max-width: 100%;
        margin: 0;
        width: 100%;
    }

    .voucher-option .card {
        margin-bottom: 1rem;
    }

    .voucher-option:last-child .card {
        margin-bottom: 0;
    }
}

@media screen and (max-width: 576px) {
    .voucher-option .card-body {
        padding: 15px;
    }

    .voucher-option h6 {
        font-size: 14px;
    }

    .voucher-option h5 {
        font-size: 16px;
    }

    .voucher-option small {
        font-size: 12px;
    }
}