

/* General Container Styling */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 10px;
}

.vaccine-schedule-container .schedule-wrapper {
    background-color: #ffffff;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 1000px;
    width: 100%;
    margin-top: 50px;
}

h1 {
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 30px;
}

label {
    display: block;
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 500;
    color: #06038D;
}

input[type="date"] {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #06038D;
    font-size: 20px;
    width: calc(100% - 24px);
    margin-bottom: 30px;
}

.schedule-timeline {
    position: relative;
    margin-top: 20px;
}

/* Line */
.schedule-timeline::after {
    content: '';
    position: absolute;
    width: 5px;
    background-color: #06038D;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    animation: moveline 44.5s linear forwards;
}

@keyframes moveline {
    0% {
        height: 0%;
    }
    100% {
        height: 100%;
    }
}

.timeline-entry {
    padding: 0px 1px;
    position: relative;
    background-color: inherit;
    width: 50%;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-entry.left {
    left: 0;
}

.timeline-entry.right {
    left: 50%;
}

/* Blue Dots */
.timeline-entry::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background-color: #06038D;
    border: 4px solid #06038D;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

/* Right Side dots */
.timeline-entry.right::after {
    left: -16px;
}

/* Card background */
.timeline-entry .content {
    margin: 25px;
    padding: 20px;
    background-color: white;
    position: relative;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
}

.timeline-entry.left .content {
    margin-left: 30px;
    font-size: 14px;
}

.timeline-entry.right .content {
    margin-right: 30px;
    font-size: 14px;
}

.timeline-entry.inactive .content {
    background-color: #e0e0e0;
    color: #a0a0a0;
}

.timeline-entry.upcoming .content { 
    border: 2px solid green;
    animation: pulse 1s infinite;
}

.timeline-entry.upcoming .content h3,
.timeline-entry.upcoming .content p {
    color: green;
    font-weight: 600;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 10px green;
    }
    50% {
        box-shadow: 0 0 20px green;
    }
    100% {
        box-shadow: 0 0 10px green;
    }
}



@media (max-width: 600px) {
    .timeline-entry.right,
    .timeline-entry.left {
        left: 5%;
        width: 100%;
    }

    .timeline-entry.right .content {
        margin-right: 0px;
        right: 5%;
    }

    .timeline-entry.left .content {
        margin-left: 0;
    }

    .timeline-entry::after {
        left: -5%;
        margin-left: -12px;
    }

    .timeline-entry.right {
        left: 4%;
    }

    .schedule-timeline::after {
        left: 5px;
    }
}

/* Alert notification CSS */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    margin-top: 50px;
}
