body {
    background: rgba(19, 21, 44, 0.85);
    color: white;
    margin:0px;
    padding:0px;
}
.navbar {
    background: linear-gradient(180deg, rgba(22, 24, 45, 0.95) 0%, rgba(22, 24, 45, 0.9) 100%) !important;
    /*backdrop-filter: blur(8px);*/
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* For navbar brand/logo */
.navbar-brand {
    color: #ffffff !important;
    font-weight: 600;
    letter-spacing: 1px;
}

/* For navbar links */
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 0.5rem 1.2rem;
    transition: all 0.3s ease;
    position: relative;
}

/* Hover effect for links */
.navbar-dark .navbar-nav .nav-link:hover {
    color: #ffffff !important;
}

/* Active link style */
.navbar-dark .navbar-nav .nav-link.active {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

/* Optional: Add an underline effect on hover */
.navbar-dark .navbar-nav .nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover:after {
    width: 80%;
    left: 10%;
}

/* Toggler button for mobile */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.datetime-container {
    display: flex;
    flex-direction: column;
    min-width: fit-content; /* Prevents text wrapping */
}

.date-container, .time-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    white-space: nowrap; /* Prevents text wrapping */
}

.label-container {
    position: relative;
    background-color: #e7e7e7;
    border-radius: 8px;
    margin-top: -15px; 
    width:300px;
    height:100px;
}

.floating-label {
    position: absolute;
    top: -50px;  
    left: 50%;  
    transform: translateX(-50%);
    background-color: #e7e7e7;
    padding: 4px 16px;
    border-radius: 8px;
    z-index: 1;   
}



.future-number {
    background: radial-gradient(circle at center,
    white 0%,
    white 20%,
    white 30%,
    #ffd700 40%,
    #ffa500 100%
);
    
}
.lottery-number {
    position: relative;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: black;
    margin: 0 3px;
}

.lottery-number.first-place {
    background: radial-gradient(circle at center,
        white 0%,
        white 20%,
        white 30%,
        #ffd700 40%,
        #ffa500 100%
    );
}

.lottery-number.second-place {
    background: radial-gradient(circle at center,
        white 0%,
        white 20%,
        white 30%,
        #0073cf 40%,
        #0073cf 100%
    );
}

.lottery-number.third-place {
    background: radial-gradient(circle at center,
        white 0%,
        white 20%,
        white 30%,
        #d32f2f 40%,
        #d32f2f 100%
    );
}


.lottery-number {
    z-index: 2;
    font-weight: 700; /* Extra bold */
}

.prize-label {
    padding: 5px 15px;
    border-radius: 4px;
    color: white;
    font-weight: bold;
}

.prize-1st {
    border: 2px solid #ffd700;
    color: #ffd700;
}

.prize-2nd {
    border: 2px solid #2196f3;
    color: #2196f3;
}

.prize-3rd {
    border: 2px solid #f44336;
    color: #f44336;
}

@keyframes glow-gold {
    0% { box-shadow: 0 4px 8px rgba(255, 215, 0, 0.2); }
    50% { box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3); }
    100% { box-shadow: 0 4px 8px rgba(255, 215, 0, 0.2); }
}

/* Number styling */
.prize-number {
    font-size: 1.5rem;
    font-weight: bold;
    padding: 10px;
    border-radius: 50%;
    transition: transform 0.2s;
}

.prize-number:hover {
    transform: scale(1.2);
}

/* First prize numbers */
.prize-1st .prize-number {
    background: linear-gradient(135deg, #ffd700, #ffa500);
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

/* Second prize numbers */
.prize-2nd .prize-number {
    background: linear-gradient(135deg, #4169e1, #1e90ff);
    box-shadow: 0 2px 10px rgba(65, 105, 225, 0.3);
}

/* Third prize numbers */
.prize-3rd .prize-number {
    background: linear-gradient(135deg, #cd853f, #d2691e);
    box-shadow: 0 2px 10px rgba(205, 133, 63, 0.3);
}

.countdown-box {
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border: groove 2px #787878;
    border-bottom:none;
    padding: 0.5rem;
    color: white;
    padding: 15px;
    border-radius: 5px;
}
.results-box {
    backdrop-filter: blur(8px);
    
    border: groove 2px #787878;
    min-height:444px;
    border-top:none;
    color: white;
    padding: 15px;
    border-radius: 5px;
    margin-bottom:10px;
}

.day {
    background: linear-gradient(135deg, rgb(18 14 0 / 50%), rgb(255 205 76 / 50%));
}

.night {
    background: linear-gradient(135deg, rgb(9 9 9 / 80%), rgb(173 94 243 / 80%));
}

.time-display {
    font-size: 2.5rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.time-unit {
    font-size: 0.8rem;
    text-align: center;
    display: block;
}
.last-results {
    padding: 15px;
    border-radius: 5px;
    color: #e7e7e7;
}

.last-results-row {
    border-radius: 12px; 
    padding: 0.4rem;
    display: flex;
    justify-content: space-between;
}
.prize-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
    margin-bottom: 10px;
}
.title {
    font-size: 18px;
}
.numbers-group {
    display: flex;
    gap: 4px;
}

.last-results {
    background: rgba(0,0,0,0.3);
    padding: 20px;
    border-radius: 8px;
}

.last-results li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 8px 0;
}

.last-results li:last-child {
    border-bottom: none;
}

.last-results span {
    font-size: 15px;
    letter-spacing: 0.5px;
}
.last-results-date-text{
    font-size:18px;    
}

.results-button {
    background-color: #1e1e1e; 
    border: 1px solid #007bff; 
    border-radius: 3px; 
    padding: 8px 15px; 
    margin-bottom: 1rem; 
    transition: all 0.3s;
    max-width: 200px; 
    margin-left: auto; 
    margin-right: auto;
}

.results-button:hover {
    background-color: #007bff;
    border-color: #007bff;
    cursor: pointer;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.3);
}

.results-button h5 {
    font-size: 1rem; 
    font-weight: bold;
}

.custom-pagination {
    background-color: #1a1a1a !important;
    border: 1px solid #2c2c2c !important;
    color: white !important;
}

.page-item.active .custom-pagination {
    background-color: #007bff !important;
    border-color: #007bff !important;
}

.page-item.disabled .custom-pagination {
    background-color: #1a1a1a !important;
    border-color: #2c2c2c !important;
    color: #6c757d !important;
}

.custom-pagination:hover:not(.disabled) {
    background-color: #007bff !important;
    border-color: #0056b3 !important;
    color: white !important;
}

.pagination {
    --bs-pagination-bg: transparent;
    --bs-pagination-border-color: transparent;
}

@media (max-width: 1100px) {
    .title {
        font-size: 12px;
    }
    .lottery-number {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    
    .navbar-brand img {
        width: 150px; 
        height: auto;
    }
    
    .datetime-container {
        font-size: 0.8rem; 
    }
}

@media (max-width: 770px) {
    .results-box {
        margin-bottom:12px;
    }
    .title {
        font-size: 8px;
    }
    .lottery-number {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .text-center .lottery-number {
        width: 18px;
        height: 18px;
        font-size: 10px;
    }
    .d-flex .last-results-date-text{
        font-size:10px;    
    }
    
    .navbar-brand img {
        width: 150px; 
        height: auto;
    }
    
    .datetime-container {
        font-size: 0.7rem; 
    }
}

@media (max-width: 460px) {
    .title {
        font-size: 12px;
    }
    .prize-row {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .lottery-number {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .text-center .lottery-number {
        width: 18px;
        height: 18px;
        font-size: 10px;
    }
    
    .navbar-brand img {
        width: 120px; 
        height: auto;
    }
    
    .datetime-container {
        font-size: 0.6rem; 
    }
}

@media (max-width: 460px) {
    .title {
        font-size: 12px;
    }
    .prize-row {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .lottery-number {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
}




