/**
 * Styles for scratch card canvas
 * 
 * @package Scratch Admin Awards
 */

.saa-scratch-container {
    max-width: 400px;
    margin: 30px auto;
    padding: 20px;
    border: 3px solid #0073aa;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    text-align: center;
}

.saa-scratch-container h2 {
    text-transform: uppercase;
    font-size: 20px;
    margin-bottom: 15px;
}

#saaScratchCanvas {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin: 10px 0;
    background-color: #c4c4c4;
}

#saaRewardText {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 22px;
    font-weight: bold;
    color: #000;
    pointer-events: none;
    text-shadow: 1px 1px 3px #fff;
}

#saaFooter {
    display: none;
    margin-top: 20px;
}

#saaWinMessage {
    font-size: 18px;
    font-weight: bold;
    color: #2e7d32;
    margin-bottom: 10px;
}

#saaPlayAgainBtn {
    background: #0073aa;
    color: white;
    font-size: 16px;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#saaPlayAgainBtn:hover {
    background-color: #005a87;
}

.saa-rewards-frontend h3 {
    color: black;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .saa-scratch-container {
        margin: 20px auto;
        padding: 15px;
    }
    
    .saa-scratch-container h2 {
        font-size: 18px;
    }
    
    #saaScratchCanvas {
        height: 180px;
    }
}