/* custom.css */
html, body {
  height: 100%;
}

body {
  margin: 0;

  /* Fallback */
  background-color: #ff0039;

  /* Old WebKit */
  background: -webkit-linear-gradient(
    bottom right,
    rgba(255, 0, 57, 1),
    rgba(201, 201, 201, 1)
  );

  /* Standard */
  background: linear-gradient(
    to bottom right,
    rgba(255, 0, 57, 1),
    rgba(201, 201, 201, 1)
  );

  background-repeat: no-repeat;
  background-attachment: fixed;
}
.btn-submit{
    background-color: #ff0039;
    color:#fff
}

.rolling-box {
    font-size: 1.6rem;
    font-weight: bold;
    height: 60px;
    border: 2px dashed #dc4c64;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.winner-scroll {
    max-height: 200px;
    overflow-y: auto;
    margin-top: 20px;
}

.winner-scroll div {
    font-size: 1.1rem;
    font-weight: bold;
    color: #14a44d;
    margin-bottom: 6px;
}

.winner-item {
    background: #fff3f3;
    padding: 8px;
    border-radius: 8px;
    margin-bottom: 6px;
    font-weight: bold;
}

.ticket {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    max-width: 400px;
    margin: 80px auto;
    box-shadow: 0 10px 25px rgba(0,0,0,.2);
    position: relative;
}
.ticket::before,
.ticket::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #f5f5f5;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}
.ticket::before { left: -10px; }
.ticket::after { right: -10px; }

.ticket-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #ff0039;
}

.ticket-no {
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 2px;
}

/* Add this in custom.css */
.live-draw {
    width: 100%; /* change from 100vw */
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* 'top' is invalid, use flex-start */
    align-items: center;
    background: linear-gradient(135deg, #ff0039, #c9c9c9);
}

#rollingName { font-size: 2rem; color: gold; text-shadow: 3px3px10px #000; }
.winner-list { max-height:60%; overflow-y: auto; width: 80%; text-align: center; }
