body {
    font-family: Arial, sans-serif;
    text-align: center;
    padding: 50px;
    background-color: #f9f9f9;
}

.container {
    max-width: 600px;
    margin: auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

h1 { 
    color: #333; 
}

p {
    font-size: 18px;
    color: #555;
    transition: opacity 0.5s ease-in-out; /* ✅ Smooth fade-out */
}

.hidden {
    opacity: 0;
    pointer-events: none;
}

.progress-container {
    width: 60%; /* ✅ Reduced width of the bar */
    max-width: 400px;
    height: 20px;
    background-color: #f3f3f3;
    position: relative;
    border-radius: 10px;
    margin: 20px auto;
    overflow: hidden;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background-color: #0078D4;
    transition: width 3s linear; /* ✅ Smooth transition over 3 seconds */
    border-radius: 10px;
}

.progress-text {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    font-weight: bold;
    color: black;
}

.button-container {
    display: flex;
    justify-content: center;
    align-items: center; /* ✅ Ensures vertical centering */
    margin-top: 20px;
}

.access-button {
    padding: 10px 20px;
    font-size: 18px;
    color: white;
    background-color: #0078D4;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 20px;
    display: none;
    transition: opacity 0.5s ease-in-out; /* ✅ Smooth fade-in effect */
}

.access-button:hover { 
    background-color: #005a9e; 
}
