.ges-tracker-container {
    max-width: 1000px;
    margin: 50px auto;
    font-family: 'Arial', sans-serif;
    text-align: center;
}

.ges-tracker-form {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    gap: 10px;
}
.ges-tracker-form input {
    padding: 12px;
    width: 250px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
}
.ges-tracker-form button {
    padding: 12px 25px;
    background-color: #1E90FF;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}
.ges-tracker-form button:hover {
    background-color: #0d6fd1;
}

/* Tracker Grid */
.ges-tracker {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 80px;
    position: relative;
    margin-top: 60px;
    align-items: start;
}

/* Step Circles */
.ges-step {
    text-align: center;
    position: relative;
    opacity: 0.5; /* future steps hidden */
    transition: all 0.5s ease-in-out;
}

.ges-step.completed .ges-step-circle {
    background: linear-gradient(135deg, #1E90FF, #00f0ff);
    opacity: 0.9;
    animation: fadeIn 0.8s ease forwards;
}

.ges-step.current .ges-step-circle {
    background: linear-gradient(135deg, #1E90FF, #00f0ff);
    box-shadow: 0 0 15px #1E90FF, 0 0 40px #00f0ff;
    transform: scale(1.3);
    position: relative;
    animation: pulse 1.5s infinite;
}

.ges-step-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 12px;
    line-height: 60px;
    color: #fff;
    font-weight: bold;
    font-size: 24px;
    position: relative;
}

/* Loading ring for current step */
.ges-step.current .ges-step-circle::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    width: 72px;
    height: 72px;
    border: 3px solid rgba(30,144,255,0.3);
    border-top-color: #1E90FF;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: -1;
}

/* Step Labels */
.ges-step-label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

/* Dates */
.ges-step-date {
    font-size: 12px;
    color: #aaa;
}

/* Connecting Line */
.ges-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -50%;
    height: 6px;
    width: 100%;
    background: #ddd;
    border-radius: 3px;
    z-index: 1;
    transform-origin: left center;
}

.ges-step.completed:not(:last-child)::after,
.ges-step.current:not(:last-child)::after {
    background: linear-gradient(90deg, #1E90FF, #00f0ff);
    animation: lineFill 1s forwards ease-in-out;
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1.3); box-shadow: 0 0 15px #1E90FF, 0 0 40px #00f0ff; }
    50% { transform: scale(1.4); box-shadow: 0 0 25px #1E90FF, 0 0 60px #00f0ff; }
    100% { transform: scale(1.3); box-shadow: 0 0 15px #1E90FF, 0 0 40px #00f0ff; }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes lineFill {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 0.9; transform: translateY(0); }
}

/* Print Button */
.ges-print-btn {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #1E90FF;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.ges-print-btn:hover {
    background-color: #0d6fd1;
}

/* Mobile */
@media (max-width: 768px) {
    .ges-tracker {
        grid-template-columns: 1fr;
        grid-row-gap: 50px;
    }
    .ges-step {
        display: flex;
        align-items: center;
    }
    .ges-step-circle {
        margin: 0 20px 0 0;
    }
    .ges-step-label, .ges-step-date {
        text-align: left;
    }
    .ges-step:not(:last-child)::after {
        top: 30px;
        left: 30px;
        width: 6px;
        height: 100%;
        right: auto;
    }
}
