﻿#basket-text-modal {
    background:linear-gradient(0deg, rgba(240, 242, 248, 0.00) 0%, rgba(12, 66, 121, 0.08) 100%);
}

#lotto-ticket-modal-body {
    background: linear-gradient(0deg, rgba(240, 242, 248, 0.00) 0%, rgba(12, 66, 121, 0.08) 100%);
}

:root {
    --w: 30px; /* half the triangle base */
    --n: 30px; /* triangle depth */
}

.ticket-wrapper {
    margin-bottom: -1rem;
}

.ticket {
    background: #fff;
    border: 2px dashed rgba(0,0,0,0.08);
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
    padding: 1rem 2rem;
    margin: 1rem auto;
    font-weight: 600;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    clip-path: polygon( 0 0, 100% 0, 100% calc(50% - var(--w)), calc(100% - var(--n)) 50%, 100% calc(50% + var(--w)), 100% 100%, 0 100%, 0 calc(50% + var(--w)), var(--n) 50%, 0 calc(50% - var(--w)) );
    position: relative;
    gap: 1rem;
}

.ticket-name {
    /* flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;*/
    order:-2;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    font-size: 12px;
    text-align: left;
}

.ticket-line {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    flex: 2;
}

.ball-circle {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.2rem;
   /* width: 32px;
    height: 32px;*/
    background-color: #007EFF;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
   /* font-size: 16px;*/
}

.ticket-meta {
    /*flex: 1.5;*/
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 0.5rem;
    font-size: 14px;
    color: #555;
}

.btn-remove {
    background: none;
    border: none;
    color: #000;
    font-size: 18px;
    cursor: pointer;
    margin-left: auto;
    align-self: center;
    padding:0.5rem;
}

    .btn-remove:hover {
        color: #d00;
    }

.webcafe-tooltip {
    float: right;
    background: transparent;
    border: 1px solid black;
    font-size: 1.5rem;
    width: 30px;
    height: 30px;
    border-radius: 25px;
    display: flex;
    align-items: center; /* vertical centering */
    justify-content: center; /* horizontal centering */
    padding: 0; /* remove default button padding */
}

.mobile-checkout-toggle {
    position: fixed;
    bottom: 57px;
    left: 0;
    right: 0;
    z-index: 999;
    background: #fff;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
}

.mobile-checkout-panel {
    max-height: 60vh;
    overflow-y: auto;
    background: #fff;
    border-top: 1px solid #ccc;
    padding: 1rem;
}


/* Mobile layout */
@media (max-width: 576px) {
    .ticket {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .ticket-name {
        order: -2;
        width: 100%;
        margin-bottom: 0.5rem;
        text-align: center;
    }

    .ticket-line {
        order: -1;
        justify-content: center;
        margin-bottom: 0.5rem;
    }

    .ticket-meta {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        font-size: 12px;
        text-align: left;
    }

    .ball-circle {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.2rem;
    }
}
