/* Client upload progress panel (free-trial / send-your-photos) */
#dropzone-form.dropzone .dz-preview.is-uploading {
    display: none !important;
}
#dropzone-form.dropzone .dz-preview .dz-progress {
    display: none !important;
}

#client-upload-progress {
    display: none;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 0.75rem;
    padding: 0.85rem 1rem;
    margin-top: 0.85rem;
    box-sizing: border-box;
    font-family: inherit;
}
#client-upload-progress.is-visible {
    display: block;
}
#client-upload-progress .cup-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
}
#client-upload-progress .cup-metric {
    padding: 0 0.5rem;
    border-right: 1px solid #e5e7eb;
    min-width: 0;
}
#client-upload-progress .cup-metric:first-child {
    padding-left: 0;
}
#client-upload-progress .cup-metric:last-child {
    border-right: none;
    padding-right: 0;
}
#client-upload-progress .cup-metric-label {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.7rem;
    color: #6b7280;
    line-height: 1.2;
    margin-bottom: 0.2rem;
}
#client-upload-progress .cup-metric-label svg {
    width: 0.85rem;
    height: 0.85rem;
    flex-shrink: 0;
    color: #9ca3af;
}
#client-upload-progress .cup-metric-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#client-upload-progress .cup-bytes {
    margin-top: 0.65rem;
    font-size: 0.8rem;
    color: #6b7280;
}
#client-upload-progress .cup-bar-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 0.55rem;
}
#client-upload-progress .cup-bar-track {
    flex: 1;
    height: 0.55rem;
    border-radius: 9999px;
    background: repeating-linear-gradient(
        -45deg,
        #e5e7eb,
        #e5e7eb 4px,
        #f3f4f6 4px,
        #f3f4f6 8px
    );
    overflow: hidden;
}
#client-upload-progress .cup-bar-fill {
    height: 100%;
    width: 0%;
    border-radius: 9999px;
    background: #22c55e;
    transition: width 0.15s ease-out;
}
#client-upload-progress .cup-pct {
    font-size: 0.85rem;
    font-weight: 700;
    color: #111827;
    min-width: 2.5rem;
    text-align: right;
}
#client-upload-progress .cup-filename {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 0.45rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width: 480px) {
    #client-upload-progress .cup-metrics {
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }
    #client-upload-progress .cup-metric {
        border-right: none;
        padding: 0;
        padding-bottom: 0.45rem;
        border-bottom: 1px solid #f3f4f6;
    }
    #client-upload-progress .cup-metric:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}
