/* Arch On Main Application Progress Tracker Styles */

.st-progress-container {
    border: 1px solid #ccc;
    background: #f9f9f9;
    padding: 15px;
    width: 100%;
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    box-sizing: border-box;
}

.st-progress-title {
    margin-top: 0;
    text-align: center;
    color: #333;
    font-size: 18px;
    margin-bottom: 20px;
}

.st-progress-bar-wrapper {
    border: 1px solid #ddd;
    background: #f0f0f0;
    padding: 4px;
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.st-progress-bar {
    background: linear-gradient(90deg, #4caf50, #66bb6a);
    height: 25px;
    transition: width 0.5s ease;
    border-radius: 6px;
    position: relative;
    min-width: 0;
}

.st-progress-percentage {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-weight: bold;
    font-size: 12px;
}

.st-current-stage {
    text-align: center;
    font-size: 16px;
    margin: 10px 0;
    color: #333;
}

.st-stages-section {
    margin-top: 20px;
}

.st-stages-title {
    margin-bottom: 10px;
    color: #555;
    font-size: 16px;
}

.st-stages-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.st-stage-item {
    padding: 8px 12px;
    margin: 3px 0;
    border-radius: 4px;
    display: flex;
    align-items: center;
}

.st-stage-item.completed {
    background: #e8f5e8;
    border-left: 4px solid #4caf50;
}

.st-stage-item.pending {
    background: #f5f5f5;
    border-left: 4px solid #ddd;
}

.st-stage-indicator {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 12px;
    font-weight: bold;
}

.st-stage-indicator.completed {
    background: #4caf50;
    color: white;
}

.st-stage-indicator.pending {
    background: #ddd;
    color: #666;
}

.st-stage-text {
    flex: 1;
}

.st-stage-text.current {
    font-weight: bold;
    color: #2e7d32;
}

.st-stage-text.completed {
    color: #4caf50;
}

.st-stage-text.pending {
    color: #666;
}

.st-stage-status {
    font-size: 12px;
    margin-left: 5px;
}

.st-stage-status.current {
    color: #ff9800;
}

.st-stage-status.completed {
    color: #4caf50;
}

/* Countdown Timer Styles */
.st-countdown-container {
    text-align: center;
    margin: 20px 0;
    font-size: 32px;
    color: gray;
}

.st-countdown-circle {
    width: 100px;
    height: 100px;
}

.st-countdown-bg {
    fill: none;
    stroke: #eee;
    stroke-width: 3.8;
}

.st-countdown-progress {
    fill: none;
    stroke: #4caf50;
    stroke-width: 2.8;
    stroke-linecap: round;
    transform: rotate(-90deg);
    transform-origin: center;
}

.st-countdown-text {
    font-size: 22px;
    margin-top: 10px;
}

/* Responsive adjustments */
@media (max-width: 650px) {
    .st-progress-container {
        padding: 10px;
    }
    
    .st-progress-title {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .st-current-stage {
        font-size: 14px;
    }
}

/* Dashboard widget specific adjustments */
.postbox .st-progress-container {
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 10px 0;
}
