/* Coupon Scratch Card Styles */
.scratch-card {
    position: relative;
    width: 300px;
    width: 300px;
    border-radius: 10px;
    overflow: hidden;
}

#scratchCanvas {
    display: block;
    width: 300px;
    height: 300px;
    cursor: crosshair;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.coupon-code {
    height: 300px;
    width: 300px;
    padding: 20px;
    color:rgb(var(--text-color), 1);
    background-image: url(../../assets/img/scratch-card-bg.svg);
    background-size: cover;
    background-position: center center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modal-scrachcard {
    height: 300px;
    width: 300px;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 10px 20px #00000030;
}

.scratch-card .btn-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 5;
}

.scratch-card #copyCodeBtn {
    position: absolute;
    z-index: 5;
    top: 200px;
    left: calc(50% - 80px);
    border-radius: 15px;
    height: 60px;
    width: 160px;
    background: #00000026;
    border: 0;
    color: rgb(var(--text-color), 1);
}

#codeValue {
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 3px;
}