/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    background: url('background.png') no-repeat center center fixed;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

h2 {
    color: #28a745;
}

/* Glassmorphism effect for the container */
.tracking-container {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 40px;
    text-align: center;
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    position: relative; /* Needed for absolute positioning of elements inside */
}

/* Input styles */
input[type="text"], input[type="submit"] {
    width: calc(100% - 20px);
    padding: 10px;
    margin-top: 20px;
    border: none;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 0.9em;
}

input[type="text"] {
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-color: #28a745;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8); /* Faded white background */
}

/* Submit button styles */
input[type="submit"] {
    background-color: #4CAF50; /* Green background */
    color: white;
    padding: 20px;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #CD5562; /* Darker green on hover */
}

/* Lotto Balls Styles */
.lotto-balls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

/* Add animation properties to the lotto ball */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0); /* Start and end position */
    }
    40% {
        transform: translateY(-30px); /* Bounce up */
    }
    60% {
        transform: translateY(-15px); /* Bounce down */
    }
}

.lotto-ball {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    margin: 5px;
    border: 2px solid white; /* Added a white border */
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2); /* Added an inner shadow */
    background: linear-gradient(to right, #ff9900, #ffcc00); /* Gradient effect */
}

.inner-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2); /* Inner shadow effect */
    background: rgba(255, 255, 255, 0.8); /* Faded white background */
    font-weight: bold; /* Made the number bold */
}

/* Error and Success Messages */
.error-message, .success {
    color: #dc3545; /* Red color for error messages */
    margin-top: 1rem;
    font-weight: bold;
}

.success {
    color: #28a745; /* Green color for success messages */
}

/* Responsive Design */
@media (max-width: 768px) {
    .tracking-container {
        padding: 20px;
        max-width: 90%;
    }

    .lotto-ball {
        width: 50px;
        height: 50px;
    }

    .inner-circle {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 14px;
    }

    h2 {
        font-size: 1.5rem;
    }

    input[type="text"], input[type="submit"] {
        font-size: 0.8em;
    }

    .lotto-ball {
        width: 40px;
        height: 40px;
    }

    .inner-circle {
        width: 25px;
        height: 25px;
    }
}

.logo {
    max-width: 60%;
}

/* Additional Styles */
.congrats-message, .sorry-message {
    font-size: 16px;
    color: #fff;
}

.company-name {
    font-size: 1rem;
}


/* Add additional styles based on your layout */


@keyframes myAnimation {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.my-animated-element {
    animation: myAnimation 1s ease-in-out infinite; /* Adjust animation duration and timing function as needed */
}


.sorry-message {
    color: red; /* Red color for the sorry message */
}


.entered-reference-number{
  font-size: 18px; /* Font size for the congratulatory message */
  font-weight: bold; /* Bold text for emphasis */
  color: #fff;
}

.congrats-message {
    font-size: 18px; /* Font size for the congratulatory message */
    font-weight: bold; /* Bold text for emphasis */
    color: #fff; /* Gold/yellow color for the message */
    margin-bottom: 10px; /* Spacing between the message and the link */
}

.claim-prize-link {
    text-decoration: none; /* Remove underlines from the link */
    color: #4CAF50; /* Green color for the link */
    font-weight: bold; /* Bold text for the link */
    font-size: 18px; /* Font size for the link */
}

.claim-prize-link:hover {
    text-decoration: underline; /* Add underline on hover */
}
