/* Custom styles for ICICI Bank Cheque Status Tracker */

/* Status step circles */
.status-step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Status step active state */
.status-step.active {
    background-color: #f0792e;
    color: white;
    transform: scale(1.1);
}

/* Status step completed state */
.status-step.completed {
    background-color: #f0792e;
    color: white;
}

/* Animation for progress bar */
@keyframes progress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .status-step {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .status-step + span {
        font-size: 10px;
    }
    
    #referenceNumber {
        font-size: 14px;
        padding: 0.75rem;
    }
    
    #trackBtn {
        padding-left: 1rem;
        padding-right: 1rem;
        font-size: 14px;
    }
    
    /* Make header more compact on mobile */
    .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    /* Adjust text sizes for mobile */
    h1 {
        font-size: 1.25rem !important;
    }
    
    h2 {
        font-size: 1rem !important;
    }
    
    h3 {
        font-size: 0.95rem !important;
    }
    
    /* Make progress connector lines thinner on mobile */
    .h-1 {
        height: 2px;
    }
    
    /* Adjust grid spacing on mobile */
    .gap-4 {
        gap: 0.75rem;
    }
    
    /* Make alerts more compact */
    .mb-4 {
        margin-bottom: 0.75rem;
    }
}

/* Loading animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading {
    animation: spin 1s linear infinite;
}

/* Fade in animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Mobile-specific improvements */
@media (max-width: 480px) {
    /* Even smaller devices */
    .status-step {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }
    
    /* Hide step labels on very small screens */
    .status-step + span {
        display: none;
    }
    
    /* Stack input and button vertically on very small screens */
    .flex.mb-8 > div {
        flex-direction: column;
    }
    
    #referenceNumber {
        border-radius: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    #trackBtn {
        border-radius: 0.5rem;
        width: 100%;
    }
}
