/* Ristorante Loyalty CSS */
.rl-container {
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    background: linear-gradient(145deg, #111, #080808);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 215, 0, 0.15);
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    font-family: 'Outfit', sans-serif;
    color: white;
}

.rl-golden-title {
    font-size: 2.5rem !important;
    font-weight: 900;
    margin: 0 0 1rem 0;
    background: linear-gradient(to bottom right, #fff7a1, #FFD700, #ffaa00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.rl-form-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rl-form-container form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rl-form-container input {
    background-color: #1a1a1a;
    border: 1px solid #333;
    color: white;
    padding: 1rem;
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
}

.rl-gold-button {
    background: linear-gradient(to right, #FFD700, #ffaa00);
    color: #000;
    border: none;
    padding: 1rem 2rem;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
}

.rl-scratch-container {
    margin-top: 2rem;
    position: relative;
    width: 300px;
    height: 150px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 15px;
    overflow: hidden;
    background: #1a1a1a;
}

.rl-prize-text {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    color: #FFD700;
    text-align: center;
    padding: 1rem;
    box-sizing: border-box;
    z-index: 1;
}

.rl-scratch-container canvas {
    position: absolute; top: 0; left: 0; z-index: 2;
    transition: opacity 1s ease-out;
}

.rl-scratch-revealed {
    opacity: 0; pointer-events: none;
}

.rl-points-badge {
    background: #ffaa00;
    color: black;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 10px;
}
.rl-alert {
    padding: 10px; background: #333; border-radius: 10px; margin-bottom: 10px; color: #FFD700;
}
